Function Blam::Logger::LogEvent(std::string, bool, Blam::Logger::LogSeverity, short, short, short)¶
Defined in File logger.h
Function Documentation¶
-
void
Blam::Logger
::
LogEvent
(std::string message, bool show_timestamp, Blam::Logger::LogSeverity severity, short r, short g, short b) Logs a message to the log and/or console.
- Parameters
message
: - The message to write to the log.show_timestamp
: - Whether or not to show the timestamp in the log file.severity
: - The severity of the message.r
: - The Red color override of the message.g
: - The Green color override of the message.b
: - The Blue color override of the message.