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
}
Matcher is an interface that allows matching a log record against a configuration of a match. TODO: Modify Matcher to invoke both the include and exclude properties so
calling processors will always have the same logic.
func NewMatcher ¶
func NewMatcher(mp *filterconfig.MatchProperties) (Matcher, error)
NewMatcher creates a LogRecord Matcher that matches based on the given MatchProperties.
Click to show internal directories.
Click to hide internal directories.