Class EventFilterBase
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.
Inheritance
EventFilterBase
Implements
Inherited Members
Namespace: Akka.TestKit.Internal
Assembly: Akka.TestKit.dll
Syntax
public abstract class EventFilterBase : IEventFilter
Constructors
| Edit this page View SourceEventFilterBase(IStringMatcher, IStringMatcher)
TBD
Declaration
protected EventFilterBase(IStringMatcher messageMatcher, IStringMatcher sourceMatcher)
Parameters
Type | Name | Description |
---|---|---|
IStringMatcher | messageMatcher | TBD |
IStringMatcher | sourceMatcher | TBD |
Properties
| Edit this page View SourceFilterDescriptiveName
TBD
Declaration
protected abstract string FilterDescriptiveName { get; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceApply(LogEvent)
TBD
Declaration
public bool Apply(LogEvent logEvent)
Parameters
Type | Name | Description |
---|---|---|
LogEvent | logEvent | TBD |
Returns
Type | Description |
---|---|
bool | TBD |
InternalDoMatch(string, object)
Internal helper.
Declaration
protected bool InternalDoMatch(string src, object msg)
Parameters
Type | Name | Description |
---|---|---|
string | src | TBD |
object | msg | TBD |
Returns
Type | Description |
---|---|
bool | TBD |
IsMatch(LogEvent)
Determines whether the specified event should be filtered or not.
Declaration
protected abstract bool IsMatch(LogEvent evt)
Parameters
Type | Name | Description |
---|---|---|
LogEvent | evt | TBD |
Returns
Type | Description |
---|---|
bool |
|
OnEventMatched(LogEvent)
TBD
Declaration
protected virtual void OnEventMatched(LogEvent logEvent)
Parameters
Type | Name | Description |
---|---|---|
LogEvent | logEvent | TBD |
ToString()
TBD
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | TBD |
Overrides
Events
| Edit this page View SourceEventMatched
TBD
Declaration
public event EventMatched EventMatched
Event Type
Type | Description |
---|---|
EventMatched |