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§
- Async
append-async
- A composable appender, logging and flushing asynchronously.
- Fastrace
Event append-fastrace
- An appender that adds log records to fastrace as an event associated to the current span.
- File
append-file
- An appender that writes log records to rolling files.
- Journald
Unix and append-journald
- A systemd journal appender.
- Opentelemetry
Log append-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.
- Syslog
append-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.