syslogparser

package
v2.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2022 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseStream

func ParseStream(r io.Reader, callback func(res *syslog.Result), maxMessageLength int) error

ParseStream parses a rfc5424 syslog stream from the given Reader, calling the callback function with the parsed messages. The parser automatically detects octet counting. The function returns on EOF or unrecoverable errors.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL