feat(log): apperently, show time or not was also no option???
cargo devel CI / cargo CI (push) Has been cancelled Details

This commit is contained in:
Christoph J. Scherr 2024-07-09 19:50:12 +02:00
parent b96b2ac4f6
commit 7db1833cbb
1 changed files with 9 additions and 0 deletions

View File

@ -267,6 +267,15 @@ impl LoggerBuilder {
self self
} }
/// when making a log, display the time of the message
///
/// Default: true
#[must_use]
pub const fn display_time(mut self, show_time: bool) -> Self {
self.show_time = show_time;
self
}
/// when making a log, display the log level of the message /// when making a log, display the log level of the message
/// ///
/// Default: true /// Default: true