Categorygithub.com/ziutek/syslog
modulepackage
0.0.0-20180426113420-8a9fdf1a8529
Repository: https://github.com/ziutek/syslog.git
Documentation: pkg.go.dev

# README

Using this library you can easy implement your own syslog server that:

  1. Can listen on multiple UDP ports and unix domain sockets.

  2. Can pass parsed syslog messages to your own handlers so your code can analyze and respond for them.

See documentation and example server.

# Packages

No description provided by the author

# Functions

NewBaseHandler creates BaseHandler using specified filter.
NewFileHandler accepts all arguments expected by NewBaseHandler plus filename which is the path to the log file.
NewServer creates idle server.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BaseHandler is desigend for simplify the creation of real handlers.
FileHandler implements Handler interface in the way to save messages into a text file.
No description provided by the author
No description provided by the author

# Interfaces

FatalLogger is an interface for logging package internal fatal errors.
Handler handles syslog messages.
Logger is an interface for package internal (non fatal) logging.

# Type aliases

No description provided by the author
No description provided by the author