docs.rs failed to build log4rs-0.3.1
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.
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:
log4rs-1.3.0
log4rs
Documentation is available at https://sfackler.github.io/log4rs/doc/log4rs
log4rs is a highly configurable logging framework modeled after Java's Logback and log4j libraries.
log.toml:
# Scan this file for changes every 30 seconds
= 30
# An appender named "stdout" that writes to stdout
[]
= "console"
# An appender named "requests" that writes to a file with a custom pattern
[]
= "file"
= "log/requests.log"
= "%d - %m"
# Set the default logging level to "warn" and attach the "stdout" appender to the root
[]
= "warn"
= ["stdout"]
# Raise the maximum log level for events sent to the "app::backend::db" logger to "info"
[[]]
= "app::backend::db"
= "info"
# Route log events sent to the "app::requests" logger to the "requests" appender,
# and *not* the normal appenders installed at the root
[[]]
= "app::requests"
= "info"
= ["requests"]
= false
lib.rs:
extern crate log;
extern crate log4rs;
use Default;