GlPortal Class Reference  0.1.1
Source code documentation of the free and open 3D action puzzle game.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Data Fields | Protected Attributes
radix::AnsiConsoleLogger Class Reference

Logger that outputs to an ANSI/vt-100 console. More...

#include <external/RadixEngine/include/radix/core/diag/AnsiConsoleLogger.hpp>

Inherits radix::Logger.

Public Member Functions

 AnsiConsoleLogger ()
const char * getName () const
 Returns the name of the Logger instance. More...
void log (const std::string &message, LogLevel lvl, const std::string &tag)
 Log a message. More...

Data Fields

bool enableColors
 Enables colored output. More...
bool enableBackground
 Enables colored backround on log tags. More...

Protected Attributes

std::mutex mtx

Detailed Description

Logger that outputs to an ANSI/vt-100 console.

Constructor & Destructor Documentation

radix::AnsiConsoleLogger::AnsiConsoleLogger ( )

Member Function Documentation

const char * radix::AnsiConsoleLogger::getName ( ) const

Returns the name of the Logger instance.

Implements radix::Logger.

void radix::AnsiConsoleLogger::log ( const std::string &  message,
LogLevel  lvl,
const std::string &  tag 

Log a message.

messageMessage to log
lvlLog level
tagLog tag, identifying the log category / class emitting the message

Implements radix::Logger.

Field Documentation

bool radix::AnsiConsoleLogger::enableBackground

Enables colored backround on log tags.

bool radix::AnsiConsoleLogger::enableColors

Enables colored output.

std::mutex radix::AnsiConsoleLogger::mtx

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