Steven Fackler abf0c0aafd Add env_logger
2015-01-26 23:25:43 -08:00
2015-01-26 23:25:43 -08:00
2015-01-26 23:08:37 -08:00
2015-01-26 23:25:43 -08:00
2015-01-11 21:38:44 -08:00
2014-12-13 13:51:19 -08:00
2014-12-13 13:51:19 -08:00
2015-01-24 22:55:04 -08:00

log

A Rust library providing a lightweight logging facade.

Build Status

Documentation

A logging facade provides a single logging API that abstracts over the actual logging implementation. Libraries can use the logging API provided by this crate, and the consumer of those libraries can choose the logging implementation that is most suitable for its use case.

Libraries should simply depend on the log crate, using the various logging macros as they like. Applications should choose a logging implementation that will process all logging messages.

Usage

Add this to your Cargo.toml:

[dependencies]
log = "0.2"

and this to your crate root:

#[macro_use]
extern crate log;
S
Description
提供日志的支持。 | A Rust library that provides support for logging.
Readme 2.3 MiB
Languages
Rust 100%