idk why this isn't in master yet #94

Merged
cscherrNT merged 79 commits from devel into master 2024-07-22 13:30:20 +02:00
1 changed files with 9 additions and 0 deletions
Showing only changes of commit 8226d74fb9 - Show all commits

View File

@ -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 {