Module aptos_logger_link::aptos_logger
source · Expand description
Implementation of writing logs to both local printers (e.g. stdout) and remote loggers (e.g. Logstash)
Structs
A builder for a
AptosData
, configures what, where, and how to write logs.A struct for writing logs to a file
A combination of
Filter
s to control where logs are writtenA single log entry emitted by a logging macro with associated metadata
Periodically rebuilds the filter and replaces the current logger filter.
This is useful for dynamically changing log levels at runtime via existing
environment variables such as
RUST_LOG_TELEMETRY
.Constants
Default size of log write channel, if the channel is full, logs will be dropped
Traits
A trait encapsulating the operations required for writing logs.