The class implements a logger singleton. More...
#include <global_logger_storage.hpp>
Public Types | |
typedef boost::log::aux::lazy_singleton < logger_singleton< TagT > , shared_ptr< logger_holder < typename TagT::logger_type > > > | base_type |
Base type. More... | |
typedef TagT::logger_type | logger_type |
Logger type. More... | |
Static Public Member Functions | |
static logger_type & | get () |
Returns the logger instance. More... | |
static void | init_instance () |
Initializes the logger instance (called only once) More... | |
The class implements a logger singleton.
typedef boost::log::aux::lazy_singleton< logger_singleton< TagT >, shared_ptr< logger_holder< typename TagT::logger_type > > > boost::sources::aux::logger_singleton< TagT >::base_type |
Base type.
typedef TagT::logger_type boost::sources::aux::logger_singleton< TagT >::logger_type |
Logger type.
|
inlinestatic |
Returns the logger instance.
References get().
|
inlinestatic |
Initializes the logger instance (called only once)
References boost::dynamic_pointer_cast(), boost::sources::aux::global_storage::get_or_init(), and boost::sources::aux::throw_odr_violation().