Module sc_tracing::logging [−][src]
Substrate logging library.
This crate uses tokio’s tracing library for logging.
Structs
EventFormat | A pre-configured event formatter. |
LoggerBuilder | A builder that is used to initialize the global logger. |
PrefixLayer | A |
Enums
Error | Logging errors. |
Constants
PREFIX_LOG_SPAN | Span name used for the logging prefix. See macro |
Functions
add_directives | Add directives to current directives |
reload_filter | Reload the logging filter with the supplied directives added to the existing directives |
reset_log_filter | Resets the log filter back to the original state when the node was started. |
Type Definitions
Result | Logging Result typedef. |
Attribute Macros
prefix_logs_with | Add a log prefix to the function. |