Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Validator = validator.New()
Validator can be used to validate schemas of log fields
Functions ¶
This section is empty.
Types ¶
type LogParser ¶
type LogParser interface {
// LogType returns the log type supported by this parser
LogType() string
// Parse attempts to parse the provided log line
// If the provided log is not of the supported type the method returns nil
Parse(log string) []interface{}
}
LogParser represents a parser for a supported log type
Click to show internal directories.
Click to hide internal directories.