blob: cf6b333d87b277d7b14d5f345ec2b5a70af6664c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
//go:build !proprietary
// +build !proprietary
package logformat
import "errors"
// ErrMimecastNotAvailable is thrown in the open source version of DTail
var ErrMimecastNotAvailable error = errors.New("The mimecast logformat is not available in this build of DTail")
type mimecastParser struct{}
func newMimecastParser(hostname, timeZoneName string, timeZoneOffset int) (*mimecastParser, error) {
return &mimecastParser{}, ErrMimecastNotAvailable
}
func newMimecastGenericParser(hostname, timeZoneName string, timeZoneOffset int) (*mimecastParser, error) {
return &mimecastParser{}, ErrMimecastNotAvailable
}
func (p *mimecastParser) MakeFields(maprLine string) (map[string]string, error) {
return nil, ErrMimecastNotAvailable
}
|