ark::debuglog::DebugLogStatement
Defined in header “ark/debuglog/log_statement.hh”.
This structure is populated when you log something; it is passed to the individual log outputs for formatting and emitting into their chosen medium.
Methods
-
std::string string(bool accepts_ansi)
Converts this statement to a string, as if it had been printed to a console. If ‘accepts_ansi’ is set to true, some elements of the statement will be colored. -
bool operator==(const DebugLogStatement & other)
For equality testing.
Variables
-
std::chrono::system_clock::time_point timestamp
The timestamp that this message was written out at. -
std::string_view filename
The filename that emitted this message. -
size_t line_number
The line number within the file. -
SeverityLevel severity_level
Severity level. -
std::string_view text
The text that the caller emitted.