Abstract class that is base for all loggers.
More...
#include <plask/log/log.hpp>
|
std::string | prefix |
| Prefix to add to every log line.
|
|
Abstract class that is base for all loggers.
Definition at line 68 of file log.hpp.
◆ ColorMode
Enumerator |
---|
COLOR_NONE | |
COLOR_ANSI | |
Definition at line 87 of file log.hpp.
◆ Logger()
plask::Logger::Logger |
( |
| ) |
|
◆ ~Logger()
◆ writelog()
Log a message.
- Parameters
-
level | log level to log |
msg | log message |
Implemented in plask::StderrLogger.
◆ NoLogging
◆ writelog [1/2]
Log a message.
- Parameters
-
level | log level to log |
msg | log message |
Definition at line 123 of file log.hpp.
◆ writelog [2/2]
template<typename... Args>
Log a message.
- Parameters
-
level | log level to log |
msg | log message |
params | parameters passed to format |
Definition at line 137 of file log.hpp.
◆ color
Log coloring mode.
Definition at line 96 of file log.hpp.
◆ prefix
std::string plask::Logger::prefix |
|
protected |
Prefix to add to every log line.
Definition at line 83 of file log.hpp.
The documentation for this class was generated from the following files: