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.
Aver
A dead simple logging library for rust. Currently supports colors, logging levels, and a simpler syntax. This library requires no dependencies (except for winapi if you are using windows sorry.)
Installation
simply add this to your Cargo.toml
aver = "0.1.2"
Usage
You can just start using aver in your project by including it with extern crate aver
. Then using one of its commands.
log_trace!;
log_debug!;
log_info!;
log_warn!;
log_error!;
log_fatal!;
Log levels
Aver comes with 8 logging levels: All
, Trace
, Debug
, Info
, Warn
, Error
, Fatal
, Off
. In order of increasing precedence. You can set the log level with aver::set_log_level(LogLevel)
, by default aver uses Info
meaning that trace and debug will be disabled.
Colors
Using colors is as simple as:
log_info!;
Currently grey
, red
, yellow
, green
, cyan
, blue
, and magenta
are supported. Linux systems are untested however should workâ˘.