summaryrefslogtreecommitdiff
path: root/internal/mapr/logformat/custom1.go
blob: 05e0867d57113362c17609b91db884965cee6dcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package logformat

import "errors"

var ErrCustom1NotImplemented error = errors.New("custom1 log format is not implemented")

// Template for creating a custom log format.
type custom1Parser struct{}

var _ Parser = (*custom1Parser)(nil)

func newCustom1Parser(hostname, timeZoneName string, timeZoneOffset int) (*custom1Parser, error) {
	return &custom1Parser{}, ErrCustom1NotImplemented
}

func (p *custom1Parser) MakeFields(maprLine string) (map[string]string, error) {
	return nil, ErrCustom1NotImplemented
}