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

Trivial logger tag. More...

#include <trivial.hpp>

Public Types

enum  registration_line_t { registration_line = __LINE__ }
 
typedef trivial::logger_type logger_type
 Logger type. More...
 

Static Public Member Functions

static BOOST_LOG_API logger_typeget ()
 Returns a reference to the trivial logger instance. More...
 
static const char * registration_file ()
 
static BOOST_LOG_API logger_type construct_logger ()
 

Detailed Description

Trivial logger tag.

This tag can be used to acquire the logger that is used with lrivial logging macros. This may be useful when the logger is used with other macros which require a logger.

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
registration_line 

Member Function Documentation

static BOOST_LOG_API logger_type boost::trivial::logger::construct_logger ( )
static
static BOOST_LOG_API logger_type& boost::trivial::logger::get ( )
static

Returns a reference to the trivial logger instance.

static const char* boost::trivial::logger::registration_file ( )
inlinestatic

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