Struct LogMessage¶
Defined in File logger.h
Struct Documentation¶
-
struct
LogMessage¶ Structure to store log message data.
Public Members
-
std::string
timestamp¶ The timestamp of the log message.
-
std::string
message¶ The message contents.
-
LogSeverity
severity= WSV_NONE¶ The message severity. Defaults to None.
-
bool
show_timestamp= true¶ Whether or not to show the timestamp of the message in the log file.
-
bool
override_color= false¶ Whether or not to override the message color.
-
MessageColor
color¶ The overridden color information. Overrules any severity-based coloring.
-
LogVisibility
visibility= WVIS_ALL¶ The visibility of the log message.
-
bool
override_duplicate_limit= false¶ Whether or not this message should ignore the duplicate message limit.
-
std::string