Changeset 225 in pacpusframework
- Timestamp:
- Nov 22, 2013, 12:22:22 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/PacpusLib/Log.cpp
r176 r225 19 19 #include <boost/log/utility/setup/file.hpp> 20 20 #include <boost/log/utility/setup/formatter_parser.hpp> 21 #include <boost/ log/utility/empty_deleter.hpp>21 #include <boost/utility/empty_deleter.hpp> 22 22 #include <ostream> 23 23 #include <QString> … … 110 110 111 111 // Create a backend and attach a couple of streams to it 112 boost::shared_ptr< sinks::text_ostream_backend > backend = 113 make_shared< sinks::text_ostream_backend >(); 112 shared_ptr< sinks::text_ostream_backend > backend = make_shared< sinks::text_ostream_backend >(); 114 113 backend->add_stream( 115 shared_ptr< std::ostream >(&std::clog, logging::empty_deleter())114 shared_ptr< std::ostream >(&std::clog, empty_deleter()) 116 115 ); 117 116
Note:
See TracChangeset
for help on using the changeset viewer.