Table of Contents

Class EventFilterBase

Namespace
Akka.TestKit.Internal
Assembly
Akka.TestKit.dll

Internal! Facilities for selectively filtering out expected events from logging so that you can keep your test run’s console output clean and do not miss real error messages. Note! Part of internal API. Breaking changes may occur without notice. Use at own risk.

public abstract class EventFilterBase : IEventFilter
Inheritance
EventFilterBase
Implements
Derived
Inherited Members

Constructors

EventFilterBase(IStringMatcher, IStringMatcher)

TBD

protected EventFilterBase(IStringMatcher messageMatcher, IStringMatcher sourceMatcher)

Parameters

messageMatcher IStringMatcher

TBD

sourceMatcher IStringMatcher

TBD

Properties

FilterDescriptiveName

TBD

protected abstract string FilterDescriptiveName { get; }

Property Value

string

Methods

Apply(LogEvent)

TBD

public bool Apply(LogEvent logEvent)

Parameters

logEvent LogEvent

TBD

Returns

bool

TBD

InternalDoMatch(string, object)

Internal helper. Note! Part of internal API. Breaking changes may occur without notice. Use at own risk.

protected bool InternalDoMatch(string src, object msg)

Parameters

src string

TBD

msg object

TBD

Returns

bool

TBD

IsMatch(LogEvent)

Determines whether the specified event should be filtered or not.

protected abstract bool IsMatch(LogEvent evt)

Parameters

evt LogEvent

TBD

Returns

bool

true to filter the event.

OnEventMatched(LogEvent)

TBD

protected virtual void OnEventMatched(LogEvent logEvent)

Parameters

logEvent LogEvent

TBD

ToString()

TBD

public override string ToString()

Returns

string

TBD

Events

EventMatched

TBD

public event EventMatched EventMatched

Event Type

EventMatched