generated from PlexSheep/baserepo
idk why this isn't in master yet #94
|
@ -329,6 +329,15 @@ impl LoggerBuilder {
|
||||||
self.uptime = uptime;
|
self.uptime = uptime;
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// set the lowest loglevel to be displayed
|
||||||
|
///
|
||||||
|
/// Default: [`Level::INFO`]
|
||||||
|
#[must_use]
|
||||||
|
pub const fn set_level(mut self, max_level: Level) -> Self {
|
||||||
|
self.max_level = max_level;
|
||||||
|
self
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for LoggerBuilder {
|
impl Default for LoggerBuilder {
|
||||||
|
|
Reference in New Issue