Crow  1.0
A C++ microframework for the web
crow::logger Class Reference
Collaboration diagram for crow::logger:

Public Member Functions

 logger (LogLevel level)
 
 ~logger ()
 
template<typename T >
loggeroperator<< (T const &value)
 

Static Public Member Functions

static void setLogLevel (LogLevel level)
 
static void setHandler (ILogHandler *handler)
 
static LogLevel get_current_log_level ()
 

Static Private Member Functions

static LogLevelget_log_level_ref ()
 
static ILogHandler *& get_handler_ref ()
 

Private Attributes

std::ostringstream stringstream_
 
LogLevel level_
 

Constructor & Destructor Documentation

◆ logger()

crow::logger::logger ( LogLevel  level)
inline

◆ ~logger()

crow::logger::~logger ( )
inline
Here is the call graph for this function:

Member Function Documentation

◆ operator<<()

template<typename T >
logger& crow::logger::operator<< ( T const &  value)
inline
Here is the call graph for this function:

◆ setLogLevel()

static void crow::logger::setLogLevel ( LogLevel  level)
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setHandler()

static void crow::logger::setHandler ( ILogHandler handler)
inlinestatic
Here is the call graph for this function:

◆ get_current_log_level()

static LogLevel crow::logger::get_current_log_level ( )
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_log_level_ref()

static LogLevel& crow::logger::get_log_level_ref ( )
inlinestaticprivate
Here is the caller graph for this function:

◆ get_handler_ref()

static ILogHandler*& crow::logger::get_handler_ref ( )
inlinestaticprivate
Here is the caller graph for this function:

Member Data Documentation

◆ stringstream_

std::ostringstream crow::logger::stringstream_
private

◆ level_

LogLevel crow::logger::level_
private

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