[dependencies.time]
default-features = false
features = ["formatting", "local-offset"]
optional = true
version = "0.3"
[[example]]
name = "basic"
path = "examples/basic.rs"
[features]
color = []
default = ["thread-id", "timestamp", "color", "file-line"]
file-line = []
localtime = ["dep:time"]
thread-id = []
timestamp = []
[lib]
name = "rustlog"
path = "src/lib.rs"
[lints.clippy]
cargo = "warn"
complexity = "warn"
correctness = "warn"
nursery = "warn"
pedantic = "warn"
performance = "warn"
redundant_pub_crate = "warn"
style = "warn"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools::debugging"]
description = "A small, dependency-light logging crate with a pragmatic API, color (optional), groups, and a scope timer"
edition = "2021"
homepage = "https://github.com/milchinskiy/rustlog"
keywords = ["logger", "logging", "log"]
license = "MIT OR Apache-2.0"
name = "rustlog"
readme = "README.md"
repository = "https://github.com/milchinskiy/rustlog"
rust-version = "1.70"
version = "0.2.0"
[[test]]
name = "banner"
path = "tests/banner.rs"
[[test]]
name = "banner_newline"
path = "tests/banner_newline.rs"
[[test]]
name = "color_env"
path = "tests/color_env.rs"
[[test]]
name = "color_env_invalid"
path = "tests/color_env_invalid.rs"
[[test]]
name = "color_modes"
path = "tests/color_modes.rs"
[[test]]
name = "concurrency"
path = "tests/concurrency.rs"
[[test]]
name = "env"
path = "tests/env.rs"
[[test]]
name = "env_bools"
path = "tests/env_bools.rs"
[[test]]
name = "env_levels_all"
path = "tests/env_levels_all.rs"
[[test]]
name = "env_more"
path = "tests/env_more.rs"
[[test]]
name = "file_line"
path = "tests/file_line.rs"
[[test]]
name = "groups_and_scope"
path = "tests/groups_and_scope.rs"
[[test]]
name = "groups_toggle"
path = "tests/groups_toggle.rs"
[[test]]
name = "helpers"
path = "tests/helpers.rs"
[[test]]
name = "levels_color_all"
path = "tests/levels_color_all.rs"
[[test]]
name = "log_levels"
path = "tests/log_levels.rs"
[[test]]
name = "parse_and_levels"
path = "tests/parse_and_levels.rs"
[[test]]
name = "set_file_err"
path = "tests/set_file_err.rs"
[[test]]
name = "stdout_auto"
path = "tests/stdout_auto.rs"
[[test]]
name = "stdout_auto_color"
path = "tests/stdout_auto_color.rs"
[[test]]
name = "target_file"
path = "tests/target_file.rs"
[[test]]
name = "target_idempotent"
path = "tests/target_idempotent.rs"
[[test]]
name = "target_stderr"
path = "tests/target_stderr.rs"
[[test]]
name = "target_stdout"
path = "tests/target_stdout.rs"
[[test]]
name = "thread_id"
path = "tests/thread_id.rs"
[[test]]
name = "timestamps"
path = "tests/timestamps.rs"
[[test]]
name = "writer_no_sink"
path = "tests/writer_no_sink.rs"