blob: 7229f3ee89d319313ad1d739ca91f1e259162207 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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{}
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
}
|