![]() |
Serenity Logger
A very fast and effiecient logging library. This library currently can log to files, rotate files when logging, log to the terminal, and is aware if the terminal is being piped during logging.
|
This struct holds the actual values used for when the serenity::experimental::Flush value periodically is set and is based on what the serenity::experimental::PeriodicOptions value enabled is.
Public Attributes | |
std::chrono::milliseconds | flushEvery { std::chrono::milliseconds( 500 ) } |
This value is used to determine how often contents should be flushed if serenity::experimental::PeriodicOption::timeBased is enabled. (Default Value is 500ms). | |
LoggerLevel | flushOn { LoggerLevel::trace } |
This value is used to determine the message threshold that should be reached before contents are flushed if serenity::experimental::PeriodicOptions::logLevelBased is enabled. (Default value is LoggerLevel::trace). | |