1
0
Fork 0
forked from boyska/circolog
circolog/filtering/filter_fake.go

18 lines
278 B
Go
Raw Normal View History

// +build nofilter
package filtering
type ExprValue struct {
}
func (e *ExprValue) String() string {
return "<filtering disabled>"
}
func (e *ExprValue) Set(value string) error {
return nil
}
func (e *ExprValue) Validate(line map[string]interface{}) bool {
return true
}