PLaSK library

Loading...
Searching...
No Matches
Public Member Functions | List of all members
plask::StderrLogger Struct Reference
Inheritance diagram for plask::StderrLogger:
[legend]
Collaboration diagram for plask::StderrLogger:
[legend]

## Public Member Functions
const char * | head (plask::LogLevel level)
void | writelog (plask::LogLevel level, const std::string &msg) override
| Log a message.
Public Member Functions inherited from plask::Logger
| Logger ()
virtual | ~Logger ()

## Additional Inherited Members
Public Types inherited from plask::Logger
enum | ColorMode { COLOR_NONE , COLOR_ANSI }
Public Attributes inherited from plask::Logger
ColorMode | color
| Log coloring mode.
Protected Attributes inherited from plask::Logger
std::string | prefix
| Prefix to add to every log line.

## Detailed Description

Definition at line 72 of file log.cpp.

## Member Function Documentation

## ◆ head()

const char * plask::StderrLogger::head | ( | plask::LogLevel | level | ) |

Definition at line 133 of file log.cpp.

## ◆ writelog()

void plask::StderrLogger::writelog | ( | plask::LogLevel | level,
|  | const std::string & | msg
| ) |  |
| override virtual

Log a message.

Parameters

  level | log level to log
  msg | log message

Implements plask::Logger.

Definition at line 178 of file log.cpp.

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

- plask/log/log.cpp