Click or drag to resize
Akka.NETEventFilterFactoryForLogLevel Method (LogLevel, Regex, String)
Creates a filter given the specified logLevel. This is the same as calling Debug(Regex, String), Info(Regex, String)Warning(Regex, String) or Error(Regex, String) directly.

Namespace:  Akka.TestKit
Assembly:  Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public IEventFilterApplier ForLogLevel(
	LogLevel logLevel,
	Regex pattern,
	string source = null
)

Parameters

logLevel
Type: Akka.EventLogLevel
The log level used to match events being filtered.
pattern
Type: System.Text.RegularExpressionsRegex
The event must match the pattern to be filtered.
source (Optional)
Type: SystemString
>Optional. The event source.

Return Value

Type: IEventFilterApplier
An event filter that matches the given logLevel with the supplied pattern.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException This exception is thrown when the given logLevel is unknown.
See Also