generated from PlexSheep/baserepo
feat(log): apperently, show time or not was also no option???
cargo devel CI / cargo CI (push) Has been cancelled
Details
cargo devel CI / cargo CI (push) Has been cancelled
Details
This commit is contained in:
parent
b96b2ac4f6
commit
7db1833cbb
|
@ -267,6 +267,15 @@ impl LoggerBuilder {
|
|||
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
|
||||
///
|
||||
/// Default: true
|
||||
|
|
Reference in New Issue