Add structured logging
This commit is contained in:
parent
f55484be15
commit
0207e365c7
4 changed files with 102 additions and 29 deletions
7
examples/loglevel.rs
Normal file
7
examples/loglevel.rs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
use std::str::FromStr;
|
||||
|
||||
use log::LevelFilter;
|
||||
|
||||
fn main() {
|
||||
println!("{:?}", LevelFilter::from_str("INFO"))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue