CubbyFlow::Logging Class Reference

Helper class for logging. More...

#include <Core/Utils/Logging.h>

Static Public Member Functions

static void SetInfoStream (std::ostream *stream)
 Sets the output stream for the info level logs. More...
 
static void SetWarnStream (std::ostream *stream)
 Sets the output stream for the warning level logs. More...
 
static void SetErrorStream (std::ostream *stream)
 Sets the output stream for the error level logs. More...
 
static void SetDebugStream (std::ostream *stream)
 Sets the output stream for the debug level logs. More...
 
static void SetAllStream (std::ostream *stream)
 Sets the output stream for all the log levels. More...
 
static std::string GetHeader (LogLevel level)
 Returns the header string. More...
 
static void SetLevel (LogLevel level)
 Sets the log 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 CubbyFlow::Logging::GetHeader ( LogLevel  level)
static

Returns the header string.

◆ Mute()

static void CubbyFlow::Logging::Mute ( )
static

Mutes the logger.

◆ SetAllStream()

static void CubbyFlow::Logging::SetAllStream ( std::ostream *  stream)
static

Sets the output stream for all the log levels.

◆ SetDebugStream()

static void CubbyFlow::Logging::SetDebugStream ( std::ostream *  stream)
static

Sets the output stream for the debug level logs.

◆ SetErrorStream()

static void CubbyFlow::Logging::SetErrorStream ( std::ostream *  stream)
static

Sets the output stream for the error level logs.

◆ SetInfoStream()

static void CubbyFlow::Logging::SetInfoStream ( std::ostream *  stream)
static

Sets the output stream for the info level logs.

◆ SetLevel()

static void CubbyFlow::Logging::SetLevel ( LogLevel  level)
static

Sets the log level.

◆ SetWarnStream()

static void CubbyFlow::Logging::SetWarnStream ( std::ostream *  stream)
static

Sets the output stream for the warning level logs.

◆ Unmute()

static void CubbyFlow::Logging::Unmute ( )
static

Un-mutes the logger.


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