clan::ConsoleLogger Class Reference

Console logger. More...

#include <console_logger.h>

+ Inheritance diagram for clan::ConsoleLogger:

Public Member Functions

 ConsoleLogger ()
 Constructs a console logger. More...
 ~ConsoleLogger ()
void log (const std::string &type, const std::string &text) override
 Log text to console. More...
- Public Member Functions inherited from clan::Logger
 Logger ()
 Constructs a logger. More...
virtual ~Logger ()
void disable ()
 Disable logging. More...
void enable ()
 Enable logger for logging. More...

Additional Inherited Members

- Static Public Attributes inherited from clan::Logger
static std::vector< Logger * > instances
 Pointers to currently enabled logger. More...
static std::recursive_mutex mutex
 Logger mutex object. More...
- Static Protected Member Functions inherited from clan::Logger
static StringFormat get_log_string (const std::string &type, const std::string &text)

Detailed Description

Console logger.

Constructor & Destructor Documentation

clan::ConsoleLogger::ConsoleLogger ( )

Constructs a console logger.

clan::ConsoleLogger::~ConsoleLogger ( )

Member Function Documentation

void clan::ConsoleLogger::log ( const std::string type,
const std::string text 

Log text to console.

Implements clan::Logger.

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