Skip to content

v1.6.13

Compare
Choose a tag to compare
@zhuxiujia zhuxiujia released this 09 Mar 15:46
· 68 commits to master since this release

what changes?

  • rewrite Filter
  • rewrite new ModuleFilter
 let m = ModuleFilter::new();
        m.modules.push(module_path!().to_string());
        pub struct A{}
        fast_log::init(Config::new()
            .console()
            .format(FastLogFormat::new().set_display_line_level(LevelFilter::Trace))
            .add_filter(m)).unwrap();
        log::info!("aaa");
        log::logger().flush();