Search Results for

    Show / Hide Table of Contents

    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. Note! Part of internal API. Breaking changes may occur without notice. Use at own risk.

    Inheritance
    object
    EventFilterBase
    DeadLettersFilter
    CustomEventFilter
    DebugFilter
    ErrorFilter
    InfoFilter
    WarningFilter
    Implements
    IEventFilter
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Akka.TestKit.Internal
    Assembly: Akka.TestKit.dll
    Syntax
    public abstract class EventFilterBase : IEventFilter

    Constructors

    | Edit this page View Source

    EventFilterBase(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 Source

    FilterDescriptiveName

    TBD

    Declaration
    protected abstract string FilterDescriptiveName { get; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    Apply(LogEvent)

    TBD

    Declaration
    public bool Apply(LogEvent logEvent)
    Parameters
    Type Name Description
    LogEvent logEvent

    TBD

    Returns
    Type Description
    bool

    TBD

    | Edit this page View Source

    InternalDoMatch(string, object)

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

    Declaration
    protected bool InternalDoMatch(string src, object msg)
    Parameters
    Type Name Description
    string src

    TBD

    object msg

    TBD

    Returns
    Type Description
    bool

    TBD

    | Edit this page View Source

    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

    true to filter the event.

    | Edit this page View Source

    OnEventMatched(LogEvent)

    TBD

    Declaration
    protected virtual void OnEventMatched(LogEvent logEvent)
    Parameters
    Type Name Description
    LogEvent logEvent

    TBD

    | Edit this page View Source

    ToString()

    TBD

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    TBD

    Overrides
    object.ToString()

    Events

    | Edit this page View Source

    EventMatched

    TBD

    Declaration
    public event EventMatched EventMatched
    Event Type
    Type Description
    EventMatched

    Implements

    IEventFilter

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET