Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Matcher

type Matcher interface {
	MatchLogRecord(lr pdata.LogRecord, resource pdata.Resource, library pdata.InstrumentationLibrary) bool
}

TODO: Modify Matcher to invoke both the include and exclude properties so calling processors will always have the same logic. Matcher is an interface that allows matching a log record against a configuration of a match.

func NewMatcher

func NewMatcher(mp *filterconfig.MatchProperties) (Matcher, error)

NewMatcher creates a LogRecord Matcher that matches based on the given MatchProperties.

Source Files