Click or drag to resize
Akka.NETEventFilterFactoryForLogLevel Method (LogLevel, String, String, String, String)
Creates an event filter given the specified logLevel. This is the same as calling Debug(String, String, String, String), Info(String, String, String, String)Warning(String, String, String, String) or Error(String, String, String, 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,
	string message = null,
	string start = null,
	string contains = null,
	string source = null
)

Parameters

logLevel
Type: Akka.EventLogLevel
The log level used to match events being filtered.
message (Optional)
Type: SystemString
Optional. If specified the event must match it exactly to be filtered.
start (Optional)
Type: SystemString
Optional. If specified (and message is not specified), the event must start with the string to be filtered.
contains (Optional)
Type: SystemString
Optional. If specified (and neither message nor start are specified), the event must contain the string to be filtered.
source (Optional)
Type: SystemString
Optional. The event source.

Return Value

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