mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-22 11:41:28 +00:00
6a92bf70e4
## Issue Addressed Adding CLI tests for logging flags: log-color and disable-log-timestamp Which issue # does this PR address? #3588 ## Proposed Changes Add CLI tests for logging flags as described in #3588 Please list or describe the changes introduced by this PR. Added logger_config to client::Config as suggested. Implemented Default for LoggerConfig based on what was being done elsewhere in the repo. Created 2 tests for each flag addressed. ## Additional Info Please provide any additional information. For example, future considerations or information useful for reviewers.
26 lines
858 B
TOML
26 lines
858 B
TOML
[package]
|
|
name = "environment"
|
|
version = "0.1.2"
|
|
authors = ["Paul Hauner <paul@paulhauner.com>"]
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
tokio = { version = "1.14.0", features = ["macros", "rt", "rt-multi-thread", "signal" ] }
|
|
slog = { version = "2.5.2", features = ["max_level_trace"] }
|
|
sloggers = { version = "2.1.1", features = ["json"] }
|
|
types = { path = "../../consensus/types" }
|
|
eth2_config = { path = "../../common/eth2_config" }
|
|
task_executor = { path = "../../common/task_executor" }
|
|
eth2_network_config = { path = "../../common/eth2_network_config" }
|
|
logging = { path = "../../common/logging" }
|
|
slog-term = "2.6.0"
|
|
slog-async = "2.5.0"
|
|
futures = "0.3.7"
|
|
slog-json = "2.3.0"
|
|
exit-future = "0.2.0"
|
|
serde = "1.0.116"
|
|
serde_derive = "1.0.116"
|
|
|
|
[target.'cfg(not(target_family = "unix"))'.dependencies]
|
|
ctrlc = { version = "3.1.6", features = ["termination"] }
|