Skip to main content

Crate elfo_logger

Crate elfo_logger 

Source
Expand description

Registers tracing subscriber and logs events. Configuration.

Modules§

config
Configuration for the logger.

Structs§

CaptureLayer
A tracing layer that captures spans and events, and sends them to the actor.
ReopenLogFile
Reload a log file, usually after rotation.
ScopeFilter
A tracing layer that filters events based on the current scope’s permissions and the configured targets.

Functions§

init
Initializes tracing subscriber and returns a blueprint.
new
Creates a new logger blueprint and returns ScopeFilter and CaptureLayer to install on a tracing subscriber.