-
Notifications
You must be signed in to change notification settings - Fork 0
Debug
Is namespace used internally for logging.
Should be log printed, if it's same as previous log?
Default = false;
Should program crash on Error() call?
Default = false;
Filters out of console anything with value same or below LogFilter, DebugLevel_ values here.
Default = Debug::DebugLevel_None
There are only functions for logging to console:
Prints message to console with green prefix "[LOG]:".
Prints message to console with gray prefix "[LOG]:".
Prints message to console with yellow prefix "[WARNING]:".
Prints message to console with red prefix "[ERROR]:".
If ErrorCrash is true, then throws an exception.
Prints message to console with purple prefix "[FATAL]:", then throws an exception.
Note
Don't worry, as this can happen only in few instances such as that library couldn't initialize.
Features