liborigin2 13/09/2010
|
#include <logging.hpp>
Public Member Functions | |
void | attach_qualifier (qualifier &q) |
void | consume_trace (format &f, const log_param_t &log_param) |
level_t | get_max_log_level () const |
void | set_max_log_level (level_t max_log_level) |
sink (std::ostream *s, level_t max_log_level=1) | |
Private Attributes | |
level_t | m_max_log_level |
shared_ptr< std::ostream > | m_output_stream |
qualifier_list_t | m_qualifier_list |
boost::logging::sink::sink | ( | std::ostream * | s, |
level_t | max_log_level = 1 |
||
) | [inline] |
References m_output_stream, and set_max_log_level().
void boost::logging::sink::attach_qualifier | ( | qualifier & | q | ) | [inline] |
References m_qualifier_list.
void boost::logging::sink::consume_trace | ( | format & | f, |
const log_param_t & | log_param | ||
) | [inline] |
References m_max_log_level, m_output_stream, m_qualifier_list, and boost::logging::format::produce_trace().
level_t boost::logging::sink::get_max_log_level | ( | ) | const [inline] |
References m_max_log_level.
Referenced by boost::logging::logger::add_sink().
void boost::logging::sink::set_max_log_level | ( | level_t | max_log_level | ) | [inline] |
References BOOST_LEVEL_UP_LIMIT, and m_max_log_level.
Referenced by sink().
level_t boost::logging::sink::m_max_log_level [private] |
Referenced by consume_trace(), get_max_log_level(), and set_max_log_level().
shared_ptr<std::ostream> boost::logging::sink::m_output_stream [private] |
Referenced by consume_trace(), and sink().
Referenced by attach_qualifier(), and consume_trace().