ConsoleLogger¶
class ConsoleLogger final : public Logger
The console logger class.
This class logs messages to the console or terminal.
Functions¶
Name | Description |
---|---|
ConsoleLogger | Constructs a new console logger. |
~ConsoleLogger | Destructor. |
Log | @inherit |
Function Details¶
ConsoleLogger¶
explicit ConsoleLogger(bool displayFileAndLine = true)
Constructs a new console logger.
- Parameter
displayFileAndLine
- Whether to display the file and line number in the log messages.
Log¶
void Log(eLogMessageLevel level, const char* file, int line, const AmString& message) override
@inherit
~ConsoleLogger¶
~ConsoleLogger() override = default
Destructor.