#include <typeinfo>
#include <stdexcept>
#include <boost/smart_ptr/shared_ptr.hpp>
#include <boost/smart_ptr/make_shared_object.hpp>
#include <boost/preprocessor/seq/enum.hpp>
#include <boost/log/detail/config.hpp>
#include <boost/log/detail/singleton.hpp>
#include <boost/log/detail/visible_type.hpp>
#include <boost/log/detail/header.hpp>
#include <boost/log/detail/footer.hpp>
Classes | |
struct | boost::sources::aux::logger_holder_base |
The base class for logger holders. More... | |
struct | boost::sources::aux::logger_holder< LoggerT > |
The actual logger holder class. More... | |
struct | boost::sources::aux::global_storage |
The class implements a global repository of tagged loggers. More... | |
struct | boost::sources::aux::logger_singleton< TagT > |
The class implements a logger singleton. More... | |
Namespaces | |
boost | |
Duration formatting facet for input. | |
boost::sources | |
boost::sources::aux | |
Macros | |
#define | BOOST_LOG_GLOBAL_LOGGER(tag_name, logger) |
The macro forward-declares a global logger with a custom initialization. More... | |
#define | BOOST_LOG_GLOBAL_LOGGER_INIT(tag_name, logger) tag_name::logger_type tag_name::construct_logger() |
The macro defines a global logger initialization routine. More... | |
#define | BOOST_LOG_GLOBAL_LOGGER_DEFAULT(tag_name, logger) |
The macro defines a global logger initializer that will default-construct the logger. More... | |
#define | BOOST_LOG_GLOBAL_LOGGER_CTOR_ARGS(tag_name, logger, args) |
The macro defines a global logger initializer that will construct the logger with the specified constructor arguments. More... | |
#define | BOOST_LOG_INLINE_GLOBAL_LOGGER_INIT(tag_name, logger) |
The macro declares a global logger with a custom initialization. More... | |
#define | BOOST_LOG_INLINE_GLOBAL_LOGGER_DEFAULT(tag_name, logger) |
The macro declares a global logger that will be default-constructed. More... | |
#define | BOOST_LOG_INLINE_GLOBAL_LOGGER_CTOR_ARGS(tag_name, logger, args) |
The macro declares a global logger that will be constructed with the specified arguments. More... | |
Functions | |
BOOST_LOG_API BOOST_LOG_NORETURN void | boost::sources::aux::throw_odr_violation (std::type_info const &tag_type, std::type_info const &logger_type, logger_holder_base const ®istered) |
Throws the odr_violation exception. More... | |
The header contains implementation of facilities to declare global loggers.
#define BOOST_LOG_GLOBAL_LOGGER | ( | tag_name, | |
logger | |||
) |
The macro forward-declares a global logger with a custom initialization.
#define BOOST_LOG_GLOBAL_LOGGER_CTOR_ARGS | ( | tag_name, | |
logger, | |||
args | |||
) |
The macro defines a global logger initializer that will construct the logger with the specified constructor arguments.
#define BOOST_LOG_GLOBAL_LOGGER_DEFAULT | ( | tag_name, | |
logger | |||
) |
The macro defines a global logger initializer that will default-construct the logger.
#define BOOST_LOG_GLOBAL_LOGGER_INIT | ( | tag_name, | |
logger | |||
) | tag_name::logger_type tag_name::construct_logger() |
The macro defines a global logger initialization routine.
#define BOOST_LOG_INLINE_GLOBAL_LOGGER_CTOR_ARGS | ( | tag_name, | |
logger, | |||
args | |||
) |
The macro declares a global logger that will be constructed with the specified arguments.
#define BOOST_LOG_INLINE_GLOBAL_LOGGER_DEFAULT | ( | tag_name, | |
logger | |||
) |
The macro declares a global logger that will be default-constructed.
#define BOOST_LOG_INLINE_GLOBAL_LOGGER_INIT | ( | tag_name, | |
logger | |||
) |
The macro declares a global logger with a custom initialization.