Crate stumpless

Crate stumpless 

Source
Expand description

Rust bindings for the Stumpless logging library.

These wrappings are intended to be a natural-feeling Rust SDK with the same functionality as the underlying Stumpless library. This is different than the stumpless-sys crate, which are raw FFI bindings with no Rust-specific functionality.

§Create Features

Stumpless provides a number of build configuration options that can be used to enable or disable different functionality. This crate exposes these options as the following features.

§Target Features

  • journald - Enables targets that can send logs to a systemd journald daemon.
  • network - Enables targets that can send logs to a server over a network connection.
  • socket - Enables targets that can send logs to Unix sockets.
  • wel - Enables targets that can send logs to the Windows Event Log.

Structs§

DefaultTarget
Entry
FileTarget
StreamTarget
StumplessError

Enums§

Facility
Severity

Traits§

Target

Functions§

invalid_facility_error
invalid_prival_error
invalid_severity_error
perror
prival_from_string