Loading...
Searching...
No Matches
CubbyFlow::Logging Class Reference

Helper class for logging. More...

#include <Core/Utils/Logging.hpp>

Static Public Member Functions

static void SetInfoStream (std::ostream *stream)
 Sets the output stream for the info level logs.
 
static void SetWarnStream (std::ostream *stream)
 Sets the output stream for the warning level logs.
 
static void SetErrorStream (std::ostream *stream)
 Sets the output stream for the error level logs.
 
static void SetDebugStream (std::ostream *stream)
 Sets the output stream for the debug level logs.
 
static void SetAllStream (std::ostream *stream)
 Sets the output stream for all the log levels.
 
static std::string GetHeader (LogLevel level)
 Returns the header string.
 
static void SetLevel (LogLevel level)
 Sets the log level.
 
static void Mute ()
 Mutes the logger.
 
static void Unmute ()
 Un-mutes the logger.
 

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: