1 #ifndef QPID_LOG_LOGGER_H
2 #define QPID_LOG_LOGGER_H
18 #include <boost/ptr_container/ptr_vector.hpp>
19 #include <boost/noncopyable.hpp>
39 enum FormatFlag { FILE=1, LINE=2, FUNCTION=4, LEVEL=8, TIME=16, THREAD=32, HIRES=64, CATEGORY=128};
55 virtual void log(
const Statement&,
const std::string&) =0;
105 typedef boost::ptr_vector<Output> Outputs;
106 typedef std::set<Statement*> Statements;
109 inline void enable_unlocked(
Statement* s);
111 Statements statements;
#define QPID_COMMON_EXTERN
Logging options for config parser.
A selector identifies the set of log messages to enable.
This file was automatically generated from the AMQP specification.
FormatFlag
Flags indicating what to include in the log output.
POD struct representing a logging statement in source code.
#define QPID_COMMON_INLINE_EXTERN
#define QPID_COMMON_CLASS_EXTERN
QPID_COMMON_INLINE_EXTERN const Options & getOptions() const
Get the options used to configure the logger.