Crate kona_cli

Source
Expand description

§kona-cli

Shared utilities for binaries in the kona repository.

Re-exports§

pub use log::LogConfig;

Modules§

backtrace
Helper to set the backtrace env var.
log
Arguments for logging.
metrics_args
Utility module to house implementation and declaration of MetricsArgs since it’s being used in multiple places, it’s just being referenced from this module.
sigsegv_handler
Signal handler to extract a backtrace from reth, which is originally from stack overflow.

Enums§

LogFormat
The format of the logs.

Functions§

cli_styles
Styles for the CLI application.
init_prometheus_server
Start a Prometheus metrics server on the given port.
init_test_tracing
This provides function for init tracing in testing