mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-22 11:41:28 +00:00
f22e5b0f85
* add metrics layer * add metrics * simplify getting the target * make clippy happy * fix typos * unify deps under workspace * make import statement shorter, fix typos * enable warn by default, mark flag as deprecated * do not exit on error when initializing logging fails * revert exit on error * adjust bootnode logging * add logging layer * non blocking file writer * non blocking file writer * add tracing visitor * use target as is by default * make libp2p events register correctly * adjust repilcated cli help * refactor tracing layer * linting * filesize * log gossipsub, dont filter by log level * turn on debug logs by default, remove deprecation warning * truncate file, add timestamp, add unit test * suppress output (#5) * use tracing appender * cleanup * Add a task to remove old log files and upgrade to warn level * Add the time feature for tokio * Udeps and fmt --------- Co-authored-by: Diva M <divma@protonmail.com> Co-authored-by: Divma <26765164+divagant-martian@users.noreply.github.com> Co-authored-by: Age Manning <Age@AgeManning.com>
28 lines
867 B
TOML
28 lines
867 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"] }
|
|
lazy_static = { workspace = true }
|
|
lighthouse_metrics = { workspace = true }
|
|
parking_lot = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
slog = { workspace = true }
|
|
slog-async = { workspace = true }
|
|
slog-term = { workspace = true }
|
|
sloggers = { workspace = true }
|
|
take_mut = "0.2.2"
|
|
tokio = { workspace = true, features = [ "time" ] }
|
|
tracing = "0.1"
|
|
tracing-core = { workspace = true }
|
|
tracing-log = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
tracing-appender = { workspace = true }
|