Jet  v1.3.3
Static Public Member Functions | List of all members
jet::Logging Class Reference

Helper class for logging. More...

#include <jet/logging.h>

Static Public Member Functions

static void setInfoStream (std::ostream *strm)
 Sets the output stream for the info level logs. More...
 
static void setWarnStream (std::ostream *strm)
 Sets the output stream for the warning level logs. More...
 
static void setErrorStream (std::ostream *strm)
 Sets the output stream for the error level logs. More...
 
static void setDebugStream (std::ostream *strm)
 Sets the output stream for the debug level logs. More...
 
static void setAllStream (std::ostream *strm)
 Sets the output stream for all the log levelss. More...
 
static std::string getHeader (LoggingLevel level)
 Returns the header string. More...
 
static void setLevel (LoggingLevel level)
 Sets the logging level. More...
 
static void mute ()
 Mutes the logger. More...
 
static void unmute ()
 Un-mutes the logger. More...
 

Detailed Description

Helper class for logging.

Member Function Documentation

◆ getHeader()

static std::string jet::Logging::getHeader ( LoggingLevel  level)
static

Returns the header string.

◆ mute()

static void jet::Logging::mute ( )
static

Mutes the logger.

◆ setAllStream()

static void jet::Logging::setAllStream ( std::ostream *  strm)
static

Sets the output stream for all the log levelss.

◆ setDebugStream()

static void jet::Logging::setDebugStream ( std::ostream *  strm)
static

Sets the output stream for the debug level logs.

◆ setErrorStream()

static void jet::Logging::setErrorStream ( std::ostream *  strm)
static

Sets the output stream for the error level logs.

◆ setInfoStream()

static void jet::Logging::setInfoStream ( std::ostream *  strm)
static

Sets the output stream for the info level logs.

◆ setLevel()

static void jet::Logging::setLevel ( LoggingLevel  level)
static

Sets the logging level.

◆ setWarnStream()

static void jet::Logging::setWarnStream ( std::ostream *  strm)
static

Sets the output stream for the warning level logs.

◆ unmute()

static void jet::Logging::unmute ( )
static

Un-mutes the logger.


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