CubbyFlow::Logger Class Referencefinal

Super simple logger implementation. More...

#include <Core/Utils/Logging.hpp>

Public Member Functions

 Logger (LogLevel level)
 Constructs a logger with logging level. More...
 
 Logger (const Logger &)=delete
 Deleted copy constructor. More...
 
 Logger (Logger &&) noexcept=delete
 Deleted move constructor. More...
 
 ~Logger ()
 Destructor. More...
 
Loggeroperator= (const Logger &)=delete
 Deleted copy assignment operator. More...
 
Loggeroperator= (Logger &&) noexcept=delete
 Deleted move assignment operator. More...
 
template<typename T >
const Loggeroperator<< (const T &x) const
 Writes a value to the buffer stream. More...
 

Detailed Description

Super simple logger implementation.

This is a super simple logger implementation that has minimal logging capability. Currently, the class doesn't support multi-thread logging.

Constructor & Destructor Documentation

◆ Logger() [1/3]

CubbyFlow::Logger::Logger ( LogLevel  level)
explicit

Constructs a logger with logging level.

◆ Logger() [2/3]

CubbyFlow::Logger::Logger ( const Logger )
delete

Deleted copy constructor.

◆ Logger() [3/3]

CubbyFlow::Logger::Logger ( Logger &&  )
deletenoexcept

Deleted move constructor.

◆ ~Logger()

CubbyFlow::Logger::~Logger ( )

Destructor.

Member Function Documentation

◆ operator<<()

template<typename T >
const Logger& CubbyFlow::Logger::operator<< ( const T &  x) const
inline

Writes a value to the buffer stream.

◆ operator=() [1/2]

Logger& CubbyFlow::Logger::operator= ( const Logger )
delete

Deleted copy assignment operator.

◆ operator=() [2/2]

Logger& CubbyFlow::Logger::operator= ( Logger &&  )
deletenoexcept

Deleted move assignment operator.


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