SA_Logger
Sapphire's Suite's C++ Logger.
|
#include <ConsoleColorTheme.hpp>
Public Member Functions | |
const uint8_t * | Data () const |
convert theme to data type. | |
void | SetConsoleColorFromLevel (LogLevel _lvl) const |
Set console color from log level using theme. | |
Public Attributes | |
uint8_t | normal = CslColor::Bright_FG |
Normal level color. | |
uint8_t | info = CslColor::Blue_FG | CslColor::Bright_FG |
Info level color. | |
uint8_t | warning = CslColor::Yellow_FG |
Warning level color. | |
uint8_t | error = CslColor::Red_FG | CslColor::Bright_FG |
Error level color. | |
uint8_t | assertSuccess = CslColor::Green_FG | CslColor::Bright_FG |
Assert Success level color. | |
uint8_t | assertFailure = CslColor::Magenta_FG | CslColor::Bright_FG |
Assert Failure level color. | |
Console color theme by LogLevel.
const uint8_t * SA::ConsoleColorTheme::Data | ( | ) | const |
convert theme to data type.
void SA::ConsoleColorTheme::SetConsoleColorFromLevel | ( | LogLevel | _lvl | ) | const |
Set console color from log level using theme.
[in] | _lvl | LogLevel to use for theme. |