Logger class reference
Allows displaying detailed messages on the console. It supports text coloring, time stamps and gives information about where the error occurred. This is a purely static class and can be used without creating an object.
Functions
Functions documentation
static void Log(
LoggerMsgType
lmt, const char* fromFile, int line, const char* fromFunction, const char* message, ...);
The default and the only function that displays the message by the logger.
static void ProcessType(
LoggerMsgType
lmt);
Selects the message color and adds information about the message type.
static void SetConsoleColor (
ConsoleColor
color);
Sets the text color in the console.
static void UnsetConsoleColor();
Sets the text color in the console to the default one.
static void GetTimeStamp (char* buffer, size_t len);
Creates a time stamp.