You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
369 B
17 lines
369 B
use std::path::Path; |
|
|
|
use tracing_subscriber::prelude::*; |
|
|
|
fn main() { |
|
tracing_subscriber::registry() |
|
.with(tracing_subscriber::fmt::layer()) |
|
.with(tracing_subscriber::EnvFilter::from_default_env()) |
|
.init(); |
|
println!("Hello, world!"); |
|
|
|
let a = 2; |
|
let p = Path::new("pilulito"); |
|
|
|
tracing::debug!(a); |
|
tracing::info!(?p); |
|
}
|
|
|