![]() |
Raven Engine v0.1
|
Utility for formatting log messages with level and timestamp. More...
#include <Format.h>
Static Public Member Functions | |
| static std::tuple< std::string, std::string > | Format (const LogLevel level, std::string_view message) |
| Formats a log message. | |
Utility for formatting log messages with level and timestamp.
Provides methods to generate a formatted message string and associated color codes based on the log level. Internal helpers retrieve the current time and map log levels to strings or color indicators.
|
static |
Formats a log message.
| level | The severity level of the log message. |
| message | The content of the log message. |