...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::log::add_console_log
// In header: <boost/log/utility/setup/console.hpp> template<typename CharT, typename... ArgsT> shared_ptr< sinks::synchronous_sink< sinks::basic_text_ostream_backend< CharT > >> add_console_log(std::basic_ostream< CharT > & strm, ArgsT...const & args);
The function constructs sink for the specified console stream and adds it to the core
Parameters: |
|
||||
Returns: |
Pointer to the constructed sink. |