Module sc_tracing::logging[][src]

Expand description

Substrate logging library.

This crate uses tokio’s tracing library for logging.

Structs

A pre-configured event formatter.

A builder that is used to initialize the global logger.

A Layer that captures the prefix span (PREFIX_LOG_SPAN) which is then used by crate::logging::EventFormat to prefix the log lines by customizable string.

Enums

Logging errors.

Constants

Span name used for the logging prefix. See macro sc_tracing::logging::prefix_logs_with!

Functions

Add directives to current directives

Reload the logging filter with the supplied directives added to the existing directives

Resets the log filter back to the original state when the node was started.

Type Definitions

Logging Result typedef.

Attribute Macros

Add a log prefix to the function.