flexi_logger 0.22.6

An easy-to-configure and flexible logger that writes logs to stderr or stdout and/or to files. It allows custom logline formats, and it allows changing the log specification at runtime. It also allows defining additional log streams, e.g. for alert or security messages.
Documentation
[package]
name = "flexi_logger"
version = "0.22.6"
authors = ["emabee <meinolf.block@sap.com>"]
edition = "2018"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/emabee/flexi_logger"
documentation = "https://docs.rs/flexi_logger"
homepage = "https://crates.io/crates/flexi_logger"
description = """
An easy-to-configure and flexible logger that writes logs to stderr or stdout and/or to files. \
It allows custom logline formats, and it allows changing the log specification at runtime. \
It also allows defining additional log streams, e.g. for alert or security messages.\
"""
keywords = ["file", "logger"]
categories = ["development-tools::debugging"]

[lib]
doctest = false

# docs.rs-specific configuration
[package.metadata.docs.rs]
# document all features
all-features = true
# define the configuration attribute `docsrs`
rustdoc-args = ["--cfg", "docsrs"]

[features]
default = ["colors", "textfilter"]
async = ["crossbeam-channel", "crossbeam-queue"]
colors = ["ansi_term", "atty"]
compress = ["flate2"]
dont_minimize_extra_stacks = []
specfile = ["specfile_without_notification","notify"]
specfile_without_notification = ["serde","toml","serde_derive"]
syslog_writer = ["libc", "hostname"]
textfilter = ["regex"]
trc =["async", "specfile", "tracing-subscriber"]
use_chrono_for_offset = ["chrono"]

[dependencies]
atty = {version = "0.2", optional = true}
ansi_term = {version = "0.12", optional = true}
chrono ={version = "0.4.19", optional = true, default-features = false, features = ["clock"]}
crossbeam-channel = {version = "0.5", optional = true}
crossbeam-queue = {version = "0.3", optional = true}
flate2 = {version = "1.0", optional = true}
glob = "0.3"
hostname = {version = "0.3", optional = true}
lazy_static = "1.4"
log = { version = "0.4", features = ["std"] }
notify = { version = "4.0", optional = true }
regex = { version = "1.1", optional = true }
rustversion = "1.0"
serde = { version = "1.0", optional = true }
serde_derive = {version = "1.0", optional = true}
thiserror = "1.0"
time = { version= "=0.3.9", features = ["local-offset", "formatting", "macros", "parsing"] }
toml = { version = "0.5", optional = true }
tracing-subscriber = {version = "0.3", optional = true, features = ["env-filter"] }

[target.'cfg(linux)'.dependencies]
libc = {version = "^0.2.50", optional = true}

[dev-dependencies]
serde_derive = "1.0"
version-sync = "0.9"
#env_logger = '*' # optionally needed for the performance example