|
|
|
@ -58,9 +58,9 @@ impl Default for Level { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
impl Into<tracing_subscriber::filter::LevelFilter> for Level { |
|
|
|
|
fn into(self) -> tracing_subscriber::filter::LevelFilter { |
|
|
|
|
match self { |
|
|
|
|
impl From<Level> for tracing_subscriber::filter::LevelFilter { |
|
|
|
|
fn from(level: &Level) -> tracing_subscriber::filter::LevelFilter { |
|
|
|
|
match level { |
|
|
|
|
Level::Off => tracing_subscriber::filter::LevelFilter::OFF, |
|
|
|
|
Level::Error => tracing_subscriber::filter::LevelFilter::ERROR, |
|
|
|
|
Level::Warn => tracing_subscriber::filter::LevelFilter::WARN, |
|
|
|
|