Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::sources::aux::global_storage Struct Reference

The class implements a global repository of tagged loggers. More...

#include <global_logger_storage.hpp>

Public Types

typedef shared_ptr
< logger_holder_base >(* 
initializer_t )()
 

Static Public Member Functions

static BOOST_LOG_API
shared_ptr< logger_holder_base
get_or_init (std::type_info const &key, initializer_t initializer)
 Finds or creates the logger and returns its holder. More...
 

Detailed Description

The class implements a global repository of tagged loggers.

Member Typedef Documentation

typedef shared_ptr< logger_holder_base >(* boost::sources::aux::global_storage::initializer_t)()

Member Function Documentation

static BOOST_LOG_API shared_ptr< logger_holder_base > boost::sources::aux::global_storage::get_or_init ( std::type_info const &  key,
initializer_t  initializer 
)
static

Finds or creates the logger and returns its holder.

Referenced by boost::sources::aux::logger_singleton< TagT >::init_instance().


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