Module append

Module append 

Source
Expand description

Dispatch log records to various targets.

Re-exports§

pub use logforth_append_async as asynchronous;append-async
pub use logforth_append_file as file;append-file
pub use logforth_append_opentelemetry as opentelemetry;append-opentelemetry
pub use logforth_append_syslog as syslog;append-syslog

Structs§

Asyncappend-async
A composable appender, logging and flushing asynchronously.
FastraceEventappend-fastrace
An appender that adds log records to fastrace as an event associated to the current span.
Fileappend-file
An appender that writes log records to rolling files.
JournaldUnix and append-journald
A systemd journal appender.
OpentelemetryLogappend-opentelemetry
An appender that sends log records to OpenTelemetry.
Stderr
An appender that writes log records to standard error.
Stdout
An appender that writes log records to standard output.
Syslogappend-syslog
An appender that writes log records to syslog.
Testing
An appender that writes log records that can be captured by a test harness (like cargo test), and thus the outputs are suppressed unless --nocapture or --show-output is specified.

Traits§

Append
An appender that can process log records.