Skip to content

Commit

Permalink
Create evaluator from setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb committed Apr 29, 2024
1 parent f8bb385 commit 26d426a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/Akka/Event/LogFilter.cs
Expand Up @@ -228,6 +228,8 @@ public bool ShouldTryKeepMessage(LogEvent evt, out string expandedLogMessage)
public sealed class LogFilterSetup : Setup
{
public LogFilterBase[] Filters { get; }

public LogFilterEvaluator CreateEvaluator() => new(Filters);

public LogFilterSetup(LogFilterBase[] filters)
{
Expand Down

0 comments on commit 26d426a

Please sign in to comment.