summaryrefslogtreecommitdiff
path: root/internal/mapr/logformat/custom2.go
blob: 262c7211af9bd33aee88379daf0887cbf7371a2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package logformat

import "errors"

var ErrCustom2NotImplemented error = errors.New("custom2 log format is not implemented")

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

func newCustom2Parser(hostname, timeZoneName string, timeZoneOffset int) (*custom2Parser, error) {
	return &custom2Parser{}, ErrCustom2NotImplemented
}

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