multiparser

package
v0.0.0-...-9f614e9 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2015 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRfcParser

func NewRfcParser(rawMsg *[]byte) syslogparser.LogParser

Create a Parser that uses all known RFC defined formats

Types

type MultiParserError

type MultiParserError struct {
	ErrorString string
	ParseErrors []error
}

func (MultiParserError) Error

func (self MultiParserError) Error() string

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

func (*Parser) Dump

func (self *Parser) Dump() syslogparser.LogParts

func (*Parser) Message

func (self *Parser) Message() message.IMessage

func (*Parser) Parse

func (self *Parser) Parse() error

Jump to

Keyboard shortcuts

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