Crate fedimint_logging

Source
Expand description

Constants for categorizing the logging type

To help stabilize logging targets, avoid typos and improve consistency, it’s preferable for logging statements use static target constants, that we define in this module.

Core + server side components should use global namespace, while client should generally be prefixed with client::. This makes it easier to filter interesting calls when running e.g. devimint, that will run both server and client side.

Structs§

TracingSetup
Consolidates the setup of server tracing into a helper

Constants§

LOG_BITCOIND
LOG_BITCOIND_CORE
LOG_BITCOIND_ESPLORA
LOG_CLIENT
LOG_CLIENT_BACKUP
LOG_CLIENT_DB
LOG_CLIENT_EVENT_LOG
LOG_CLIENT_MODULE_LN
LOG_CLIENT_MODULE_LNV2
LOG_CLIENT_MODULE_META
LOG_CLIENT_MODULE_MINT
LOG_CLIENT_MODULE_WALLET
LOG_CLIENT_NET_API
LOG_CLIENT_REACTOR
LOG_CLIENT_RECOVERY
LOG_CLIENT_RECOVERY_MINT
LOG_CONSENSUS
LOG_CORE
LOG_DB
LOG_DEVIMINT
LOG_GATEWAY
LOG_MODULE_LN
LOG_MODULE_LNV2
LOG_MODULE_META
LOG_MODULE_MINT
LOG_MODULE_WALLET
LOG_NET
LOG_NET_API
LOG_NET_AUTH
LOG_NET_PEER
LOG_NET_PEER_DKG
LOG_RUNTIME
LOG_TASK
LOG_TEST
LOG_TIMING

Functions§

shutdown