flexi_logger 0.29.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
[[bench]]
name = "bench_reconfigurable"
path = "benches/bench_reconfigurable.rs"

[[bench]]
name = "bench_standard"
path = "benches/bench_standard.rs"

[dependencies.chrono]
default-features = false
features = ["clock"]
version = "0.4.22"

[dependencies.crossbeam-channel]
optional = true
version = "0.5"

[dependencies.crossbeam-queue]
optional = true
version = "0.3"

[dependencies.flate2]
features = ["rust_backend"]
optional = true
version = "1.0"

[dependencies.hostname]
optional = true
version = "0.4"

[dependencies.log]
features = ["std"]
version = "0.4"

[dependencies.notify-debouncer-mini]
default-features = false
optional = true
version = "0.4.1"

[dependencies.nu-ansi-term]
optional = true
version = "0.50"

[dependencies.regex]
optional = true
version = "1.1"

[dependencies.serde]
optional = true
version = "1.0"

[dependencies.serde_derive]
optional = true
version = "1.0"

[dependencies.serde_json]
optional = true
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.toml]
optional = true
version = "0.8"

[dependencies.tracing]
optional = true
version = "0.1.36"

[dependencies.tracing-subscriber]
features = ["env-filter"]
optional = true
version = "0.3"

[dev-dependencies.cond_sync]
version = "0.2"

[dev-dependencies.either]
version = "1.9"

[dev-dependencies.flate2]
version = "1.0"

[dev-dependencies.glob]
version = "0.3"

[dev-dependencies.serde_derive]
version = "1.0"

[dev-dependencies.temp-dir]
version = "0.1"

[dev-dependencies.tracing]
version = "0.1.36"

[dev-dependencies.version-sync]
version = "0.9"

[[example]]
name = "colors"
path = "examples/colors.rs"

[[example]]
name = "colors2"
path = "examples/colors2.rs"

[[example]]
name = "dedup"
path = "examples/dedup.rs"

[[example]]
name = "entry_numbers"
path = "examples/entry_numbers.rs"

[[example]]
name = "filter"
path = "examples/filter.rs"

[[example]]
name = "performance"
path = "examples/performance.rs"

[[example]]
name = "rotate"
path = "examples/rotate.rs"

[[example]]
name = "version_numbers"
path = "examples/version_numbers.rs"

[[example]]
name = "write_writer"
path = "examples/write_writer.rs"

[features]
async = ["dep:crossbeam-channel", "dep:crossbeam-queue"]
colors = ["dep:nu-ansi-term"]
compress = ["dep:flate2"]
default = ["colors", "textfilter"]
dont_minimize_extra_stacks = []
json = ["dep:serde_json", "dep:serde", "dep:serde_derive"]
kv = ["log/kv_serde"]
specfile = ["specfile_without_notification", "dep:notify-debouncer-mini"]
specfile_without_notification = ["dep:serde", "dep:toml", "dep:serde_derive"]
syslog_writer = ["dep:libc", "dep:hostname"]
textfilter = ["dep:regex"]
trc = ["async", "specfile", "dep:tracing", "dep:tracing-subscriber"]

[lib]
doctest = false
name = "flexi_logger"
path = "src/lib.rs"

[package]
authors = ["emabee <meinolf.block@sap.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["development-tools::debugging"]
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."
documentation = "https://docs.rs/flexi_logger"
edition = "2021"
keywords = ["file", "logger"]
license = "MIT OR Apache-2.0"
name = "flexi_logger"
readme = "README.md"
repository = "https://github.com/emabee/flexi_logger"
rust-version = "1.70.0"
version = "0.29.6"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

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

[[test]]
name = "test_age_or_size"
path = "tests/test_age_or_size.rs"

[[test]]
name = "test_colors"
path = "tests/test_colors.rs"

[[test]]
name = "test_custom_log_writer"
path = "tests/test_custom_log_writer.rs"

[[test]]
name = "test_default_file_and_writer"
path = "tests/test_default_file_and_writer.rs"

[[test]]
name = "test_env_logger_style"
path = "tests/test_env_logger_style.rs"

[[test]]
name = "test_error_channel"
path = "tests/test_error_channel.rs"

[[test]]
name = "test_error_channel_error"
path = "tests/test_error_channel_error.rs"

[[test]]
name = "test_external_delete"
path = "tests/test_external_delete.rs"

[[test]]
name = "test_external_rename"
path = "tests/test_external_rename.rs"

[[test]]
name = "test_file_writer"
path = "tests/test_file_writer.rs"

[[test]]
name = "test_file_writer_as_writer"
path = "tests/test_file_writer_as_writer.rs"

[[test]]
name = "test_force_utc_1_panic"
path = "tests/test_force_utc_1_panic.rs"

[[test]]
name = "test_force_utc_3"
path = "tests/test_force_utc_3.rs"

[[test]]
name = "test_force_utc_4"
path = "tests/test_force_utc_4.rs"

[[test]]
name = "test_json"
path = "tests/test_json.rs"

[[test]]
name = "test_kv"
path = "tests/test_kv.rs"

[[test]]
name = "test_mods"
path = "tests/test_mods.rs"

[[test]]
name = "test_mods_off"
path = "tests/test_mods_off.rs"

[[test]]
name = "test_multi_logger"
path = "tests/test_multi_logger.rs"

[[test]]
name = "test_multi_threaded_cleanup_async"
path = "tests/test_multi_threaded_cleanup_async.rs"

[[test]]
name = "test_multi_threaded_cleanup_use_utc"
path = "tests/test_multi_threaded_cleanup_use_utc.rs"

[[test]]
name = "test_multi_threaded_dates"
path = "tests/test_multi_threaded_dates.rs"

[[test]]
name = "test_multi_threaded_numbers"
path = "tests/test_multi_threaded_numbers.rs"

[[test]]
name = "test_multi_threaded_numbers_dedup"
path = "tests/test_multi_threaded_numbers_dedup.rs"

[[test]]
name = "test_multi_threaded_stderr"
path = "tests/test_multi_threaded_stderr.rs"

[[test]]
name = "test_no_logger"
path = "tests/test_no_logger.rs"

[[test]]
name = "test_parse_errors"
path = "tests/test_parse_errors.rs"

[[test]]
name = "test_reconfigure_methods"
path = "tests/test_reconfigure_methods.rs"

[[test]]
name = "test_recursion"
path = "tests/test_recursion.rs"

[[test]]
name = "test_restart_with_no_suffix"
path = "tests/test_restart_with_no_suffix.rs"

[[test]]
name = "test_rotate_immediate_compression"
path = "tests/test_rotate_immediate_compression.rs"

[[test]]
name = "test_rotate_naming_variants"
path = "tests/test_rotate_naming_variants.rs"

[[test]]
name = "test_specfile"
path = "tests/test_specfile.rs"

[[test]]
name = "test_textfilter"
path = "tests/test_textfilter.rs"

[[test]]
name = "test_trc"
path = "tests/test_trc.rs"

[[test]]
name = "test_trigger_rotation"
path = "tests/test_trigger_rotation.rs"

[[test]]
name = "test_utils"
path = "tests/test_utils.rs"

[[test]]
name = "test_windows_line_ending"
path = "tests/test_windows_line_ending.rs"

[[test]]
name = "test_write_modes"
path = "tests/test_write_modes.rs"