![]() |
Blamite Game Engine - Strings
00335.09.13.21.0053.blamite
A library containing general purpose utilities and classes for use in multiple projects.
|
Namespace containing functions related to the logger. More...
Functions | |
| STRINGS_API std::string | GenerateLogLevelPrefix (BlamLogLevel log_level) |
Generates a prefix for a given log level, such as [INFO] or [WARN]. More... | |
| STRINGS_API TerminalColor | TranslateLogLevelAsColor (BlamLogLevel log_level) |
| Translates a given BlamLogLevel into the appropriate terminal color. More... | |
| STRINGS_API void | PrintMessageToStdout (std::string message, TerminalColor color) |
| Prints a message to the standard output. More... | |
Namespace containing functions related to the logger.
| std::string BlamStrings::Interface::Logger::GenerateLogLevelPrefix | ( | BlamLogLevel | log_level | ) |
Generates a prefix for a given log level, such as [INFO] or [WARN].
| log_level | - The log level to create a prefix for. |
| void BlamStrings::Interface::Logger::PrintMessageToStdout | ( | std::string | message, |
| TerminalColor | color | ||
| ) |
Prints a message to the standard output.
| message | - The message to print. |
| color | - The terminal color to use for the message. |
| TerminalColor BlamStrings::Interface::Logger::TranslateLogLevelAsColor | ( | BlamLogLevel | log_level | ) |
Translates a given BlamLogLevel into the appropriate terminal color.
| log_level | - The log level to determine a color for. |