Changeset 244 in pacpusframework for trunk/src/PacpusLib/Log.cpp


Ignore:
Timestamp:
Dec 2, 2013, 12:30:29 PM (11 years ago)
Author:
Marek Kurdej
Message:

Minor: debug/info level on console.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/PacpusLib/Log.cpp

    r239 r244  
    3030#include <ostream>
    3131#include <QString>
     32
     33//template <typename CharT>
     34//PACPUSLIB_API std::basic_ostream<CharT>& operator<< (std::basic_ostream<CharT>& strm, QString const& s)
     35//{
     36//    strm << s.toLocal8Bit().data();
     37//    return strm;
     38//}
    3239
    3340// specialization for char
     
    151158    sink->set_filter
    152159    (
     160#ifdef NDEBUG
     161        // release
    153162        severity >= info
     163#else
     164        // debug
     165        severity >= debug
     166#endif
    154167    );
    155168
Note: See TracChangeset for help on using the changeset viewer.