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
| Improve this Doc View SourceEventFilterBase(IStringMatcher, IStringMatcher)
TBD
Declaration
protected EventFilterBase(IStringMatcher messageMatcher, IStringMatcher sourceMatcher)
Parameters
Type | Name | Description |
---|---|---|
IStringMatcher | messageMatcher | TBD |
IStringMatcher | sourceMatcher | TBD |
Properties
| Improve this Doc View SourceFilterDescriptiveName
TBD
Declaration
protected abstract string FilterDescriptiveName { get; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceApply(LogEvent)
TBD
Declaration
public bool Apply(LogEvent logEvent)
Parameters
Type | Name | Description |
---|---|---|
LogEvent | logEvent | TBD |
Returns
Type | Description |
---|---|
Boolean | 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 |
---|---|
Boolean | 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 |
---|---|
Boolean |
|
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
| Improve this Doc View SourceEventMatched
TBD
Declaration
public event EventMatched EventMatched
Event Type
Type | Description |
---|---|
EventMatched |