syslogparser

package
v2.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 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