mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Tracing Integration
- [reference](5bbf1859e9/projects/project-ideas.md (L297))
- [x] replace slog & log with tracing throughout the codebase
- [x] implement custom crit log
- [x] make relevant changes in the formatter
- [x] replace sloggers
- [x] re-write SSE logging components
cc: @macladson @eserilev
24 lines
729 B
TOML
24 lines
729 B
TOML
[package]
|
|
name = "logging"
|
|
version = "0.2.0"
|
|
authors = ["blacktemplar <blacktemplar@a1.net>"]
|
|
edition = { workspace = true }
|
|
|
|
[features]
|
|
test_logger = [] # Print log output to stderr when running tests instead of dropping it
|
|
|
|
[dependencies]
|
|
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
|
|
logroller = { workspace = true }
|
|
metrics = { workspace = true }
|
|
once_cell = "1.17.1"
|
|
parking_lot = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
tokio = { workspace = true, features = [ "time" ] }
|
|
tracing = "0.1"
|
|
tracing-appender = { workspace = true }
|
|
tracing-core = { workspace = true }
|
|
tracing-log = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|