analyzer-d4-log/logparser/parser.go

14 lines
268 B
Go
Raw Normal View History

package logparser
type (
// Parser provides the interface for a Parser
// It should provide:
// Parse to parse a line of log
// GetAttributes to get list of attributes (map keys)
Parser interface {
Parse() error
Push() error
Pop() map[string]string
}
)