Show / Hide Table of Contents

Class NoFilter

Default implementation of ITraceFilter that includes all messages in the trace.

Inheritance
object
NoFilter
Implements
ITraceFilter
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phobos.Actor.Configuration
Assembly: Phobos.Actor.dll
Syntax
public sealed class NoFilter : ITraceFilter
Remarks

This is the default behavior of Phobos when no ITraceFilter is provided.

Fields

Instance

Declaration
public static readonly NoFilter Instance
Field Value
Type Description
NoFilter

Methods

ShouldTraceMessage(object, bool)

Evaluates a message processed by an actor and determines whether or not to include it in the current or a new trace.

Declaration
public bool ShouldTraceMessage(object message, bool alreadyInTrace)
Parameters
Type Name Description
object message

The message currently being processed by an actor.

bool alreadyInTrace

Whether or not this message is already part of an active trace.

Returns
Type Description
bool

true if we are going to trace the message, false otherwise.

Remarks

Should return true unless you are explicitly trying to filter a given message out of your trace.

Implements

ITraceFilter
In this article

Phobos®

APM for Akka.NET Applications

© 2025 Petabridge®

All rights reserved

Product
  • Purchase Phobos
  • Contact Sales
  • Phobos Quick Start Guide
  • Phobos Features
  • API Documentation
  • Release Notes
Resources
  • Akka.NET Documentation
  • Petabridge Blog
  • Akka.NET Support Plans
  • Akka.NET Consulting Services
  • Akka.NET Training
Connect
  • Petabridge Website
  • GitHub
  • Twitter
  • LinkedIn
  • YouTube
  • Contact Us
Privacy Policy
Built with ♥ by Petabridge