loginit 0.1.18

init log for tracing use tracing_subscriber
Documentation
1
2
3
4
5
#[test]
fn test() {
  loginit::init();
  tracing::info!("Hello World");
}