Crate log4rs_syslog [] [src]

Very simple syslog appender for the log4rs based on the libc's syslog() function. Supports only *nix systems.

Source code and examples: https://github.com/im-0/log4rs-syslog

Structs

LogOption

Syslog option flags.

SyslogAppender

An appender which writes log invents into syslog using libc's syslog() function.

SyslogAppenderBuilder

Builder for SyslogAppender.

Enums

Facility

The type of program.

Functions

register

Register deserializer for creating syslog appender based on log4rs configuration file.

Type Definitions

LevelMap

Function for mapping rust's log levels to libc's log levels.