Click or drag to resize
Akka.NETEventFilterFactoryInfo Method
Overload List
  NameDescription
Public methodCode exampleInfo(Regex, String)
Create a filter for Info events. Events must match the specified pattern to be filtered.
Examples
Info(pattern: new Regex("weird.*message"), source: obj) // filter on pattern and source
Remarks
Please note that filtering on the source being null does NOT work (passing null disables the source filter).
Public methodCode exampleInfo(String, String, String, String)
Create a filter for Info events.

message takes priority over start. If message!=null the event must match it to be filtered. If start!=null and message has not been specified, the event must start with the given string to be filtered. If contains!=null and both message and start have not been specified, the event must contain the given string to be filtered.

Examples
Info() // filter all Info events Info("message") // filter on exactly matching message Info(source: obj) // filter on event source Info(start: "Expected") // filter on start of message Info(contains: "Expected") // filter on part of message
Remarks
Please note that filtering on the source being null does NOT work (passing null disables the source filter).
Top
See Also