liborigin2 13/09/2010
Public Member Functions | Private Attributes
boost::logging::sink Class Reference

#include <logging.hpp>

List of all members.

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

Constructor & Destructor Documentation

boost::logging::sink::sink ( std::ostream *  s,
level_t  max_log_level = 1 
) [inline]

Member Function Documentation

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]
level_t boost::logging::sink::get_max_log_level ( ) const [inline]
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().


Member Data Documentation

shared_ptr<std::ostream> boost::logging::sink::m_output_stream [private]

Referenced by consume_trace(), and sink().

Referenced by attach_qualifier(), and consume_trace().


The documentation for this class was generated from the following file: