mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 16:46:47 +00:00
move back the empty deleter in the logger.cxx
This commit is contained in:
parent
a0388c084e
commit
5212dd4ce1
|
@ -43,8 +43,7 @@ void init_log_console()
|
||||||
typedef sinks::synchronous_sink<sinks::text_ostream_backend> text_sink;
|
typedef sinks::synchronous_sink<sinks::text_ostream_backend> text_sink;
|
||||||
boost::shared_ptr<text_sink> sink = boost::make_shared<text_sink>();
|
boost::shared_ptr<text_sink> sink = boost::make_shared<text_sink>();
|
||||||
// add "console" output stream to our sink
|
// add "console" output stream to our sink
|
||||||
//sink->locked_backend()->add_stream(boost::shared_ptr<std::ostream>(&std::clog, boost::null_deleter()));
|
sink->locked_backend()->add_stream(boost::shared_ptr<std::ostream>(&std::clog, boost::null_deleter()));
|
||||||
sink->locked_backend()->add_stream(boost::shared_ptr<std::ostream>(&std::clog));
|
|
||||||
|
|
||||||
// specify the format of the log message
|
// specify the format of the log message
|
||||||
sink->set_formatter(&init_log_formatter<tag_console>);
|
sink->set_formatter(&init_log_formatter<tag_console>);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user