generated from PlexSheep/baserepo
feat(log): apperently, it wasn't possible to set a min log level?
cargo devel CI / cargo CI (push) Failing after 1m44s
Details
cargo devel CI / cargo CI (push) Failing after 1m44s
Details
This commit is contained in:
parent
729c4e3a4e
commit
8226d74fb9
|
@ -329,6 +329,15 @@ impl LoggerBuilder {
|
|||
self.uptime = uptime;
|
||||
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 {
|
||||
|
|
Reference in New Issue