[package]
name = "logforth"
version = "0.30.1"
description = "A versatile and extensible logging implementation."
keywords = ["logging", "log", "opentelemetry", "fastrace"]
categories.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
readme.workspace = true
repository.workspace = true
rust-version.workspace = true
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = []
starter-log = [
"dep:log",
"bridge-log",
"append-file",
"layout-text",
"layout-json",
"filter-rustlog",
]
bridge-log = ["dep:logforth-bridge-log"]
bridge-log-serde = ["bridge-log", "logforth-bridge-log/serde"]
append-async = ["dep:logforth-append-async"]
append-fastrace = ["dep:logforth-append-fastrace"]
append-file = ["dep:logforth-append-file"]
append-journald = ["dep:logforth-append-journald"]
append-opentelemetry = ["dep:logforth-append-opentelemetry"]
append-syslog = ["dep:logforth-append-syslog"]
layout-google-cloud-logging = ["dep:logforth-layout-google-cloud-logging"]
layout-json = ["dep:logforth-layout-json"]
layout-logfmt = ["dep:logforth-layout-logfmt"]
layout-text = ["dep:logforth-layout-text"]
diagnostic-fastrace = ["dep:logforth-diagnostic-fastrace"]
diagnostic-task-local = ["dep:logforth-diagnostic-task-local"]
filter-rustlog = ["dep:logforth-filter-rustlog"]
native-tls = ["logforth-append-syslog?/native-tls"]
rustls = ["logforth-append-syslog?/rustls"]
[dependencies]
logforth-core = { workspace = true }
log = { workspace = true, optional = true }
logforth-append-async = { workspace = true, optional = true }
logforth-append-fastrace = { workspace = true, optional = true }
logforth-append-file = { workspace = true, optional = true }
logforth-append-journald = { workspace = true, optional = true }
logforth-append-opentelemetry = { workspace = true, optional = true }
logforth-append-syslog = { workspace = true, optional = true }
logforth-bridge-log = { workspace = true, optional = true }
logforth-diagnostic-fastrace = { workspace = true, optional = true }
logforth-diagnostic-task-local = { workspace = true, optional = true }
logforth-filter-rustlog = { workspace = true, optional = true }
logforth-layout-google-cloud-logging = { workspace = true, optional = true }
logforth-layout-json = { workspace = true, optional = true }
logforth-layout-logfmt = { workspace = true, optional = true }
logforth-layout-text = { workspace = true, optional = true }
[dev-dependencies]
log = { workspace = true }
logforth-append-file = { workspace = true }
[lints]
workspace = true
[[test]]
name = "recursive_logging"
path = "tests/recursive_logging.rs"
required-features = ["starter-log"]