flexi_logger 0.6.7

A flexible and reconfigurable logger that can write to stderr or to log files
docs.rs failed to build flexi_logger-0.6.7
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: flexi_logger-0.28.0

flexi_logger

A flexible logger that can write to stderr or to log files

Documentation

See https://docs.rs/flexi_logger/

Usage

Add this to your Cargo.toml:

[dependencies]
flexi_logger = "0.6"
log = "0.3"

and this to your crate root:

#[macro_use]
extern crate log;
extern crate flexi_logger;

Early in the start-up of your program, call something like

  use flexi_logger::Logger;

  Logger::with_str("modx::mody=info")
      // ... your configuration options go here ...
      .start()
      .unwrap_or_else(|e| panic!("Logger initialization failed with {}", e));