#include <list>
#include <stack>
#include <string>
#include <ostream>
#include <sstream>
#include <stdio.h>
#include <algorithm>
#include <exception>
#include <boost/shared_ptr.hpp>
#include <boost/tuple/tuple.hpp>
#include <boost/config.hpp>
#include <boost/date_time/gregorian/gregorian.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/format.hpp>
Go to the source code of this file.
#define BOOST_LEVEL_UP_LIMIT 999 |
Referenced by boost::logging::sink::set_max_log_level().
#define BOOST_LOG | ( | level, | |||
qualifier, | |||||
_trace | ) |
Value:
{ \ boost::logging::logger *l = boost::logging::logger::get_instance(); \ assert(l); \ if (l->get_global_max_log_level() >= level) \ { \ if (l->m_string_stream.str() != "") \ l->m_string_stack.push(l->m_string_stream.str()); \ \ l->m_string_stream.str(""); \ l->m_string_stream << _trace; \ l->trace(level, qualifier, l->m_string_stream.str(), __FILE__, __LINE__); \ if (!l->m_string_stack.empty()) \ { \ l->m_string_stream.str(l->m_string_stack.top()); \ l->m_string_stack.pop(); \ } \ } \ }
#define BOOST_LOG_ | ( | level, | |||
_trace | ) | { BOOST_LOG(level, boost::logging::log, _trace) } |
#define BOOST_LOG_ADD_OUTPUT_STREAM | ( | sink | ) |
Value:
{ \ boost::logging::logger *l = boost::logging::logger::get_instance(); \ assert(l); \ l->add_sink(sink); \ }
Referenced by OriginFile::OriginFile().
#define BOOST_LOG_FINALIZE | ( | ) |
Value:
{ \ boost::logging::logger *l = boost::logging::logger::get_instance(); \ assert(l); \ l->clear(); \ }
Referenced by OriginFile::OriginFile(), OriginDefaultParser::parse(), and Origin750Parser::parse().
#define BOOST_LOG_INIT | ( | format | ) |
Value:
{ \ boost::logging::logger *l = boost::logging::logger::get_instance(); \ assert(l); \ l->add_format(format); \ }
Referenced by OriginFile::OriginFile().
#define BOOST_LOG_UNFORMATTED | ( | level, | |||
qualifier, | |||||
_trace | ) |
Value:
{ \ boost::logging::logger *l = boost::logging::logger::get_instance(); \ assert(l); \ if (l->get_global_max_log_level() >= level) \ { \ if (l->m_string_stream.str() != "") \ l->m_string_stack.push(l->m_string_stream.str()); \ \ l->m_string_stream.str(""); \ l->m_string_stream << _trace; \ l->unformatted_trace(level, qualifier, \ l->m_string_stream.str(), __FILE__, __LINE__); \ if (!l->m_string_stack.empty()) \ { \ l->m_string_stream.str(l->m_string_stack.top()); \ l->m_string_stack.pop(); \ } \ } \ }
#define BOOST_MAX_LINE_STR_SIZE 20 |
boost::logging::element_list_t operator>> | ( | boost::logging::element_list_t | lhs, | |
const std::string & | s | |||
) | [inline] |
boost::logging::element_list_t operator>> | ( | const std::string & | s, | |
boost::logging::log_element & | rhs | |||
) | [inline] |
boost::logging::element_list_t operator>> | ( | boost::logging::element_list_t | lhs, | |
boost::logging::log_element & | rhs | |||
) | [inline] |
boost::logging::element_list_t operator>> | ( | boost::logging::log_element & | lhs, | |
boost::logging::log_element & | rhs | |||
) | [inline] |