Class LogFilterBuilder
Can be used to build a set of log filters to be used in conjunction with the LogFilterSetup.
Inheritance
LogFilterBuilder
Assembly: Akka.dll
Syntax
public sealed class LogFilterBuilder
Methods
|
Improve this Doc
View Source
Add(LogFilterBase)
Declaration
public LogFilterBuilder Add(LogFilterBase filter)
Parameters
Returns
|
Improve this Doc
View Source
AddRange(IEnumerable<LogFilterBase>)
Declaration
public LogFilterBuilder AddRange(IEnumerable<LogFilterBase> filters)
Parameters
Returns
|
Improve this Doc
View Source
Build()
Declaration
public LogFilterSetup Build()
Returns
|
Improve this Doc
View Source
ExcludeMessageContaining(String)
Declaration
public LogFilterBuilder ExcludeMessageContaining(string messagePart)
Parameters
Type |
Name |
Description |
String |
messagePart |
|
Returns
|
Improve this Doc
View Source
ExcludeMessageRegex(Regex)
Performance boost: use your own pre-compiled Regex instance to filter log messages.
Declaration
public LogFilterBuilder ExcludeMessageRegex(Regex regex)
Parameters
Type |
Name |
Description |
Regex |
regex |
|
Returns
|
Improve this Doc
View Source
ExcludeSourceContaining(String)
Declaration
public LogFilterBuilder ExcludeSourceContaining(string sourcePart)
Parameters
Type |
Name |
Description |
String |
sourcePart |
|
Returns
|
Improve this Doc
View Source
ExcludeSourceEndingWith(String)
Declaration
public LogFilterBuilder ExcludeSourceEndingWith(string sourceEnd)
Parameters
Type |
Name |
Description |
String |
sourceEnd |
|
Returns
|
Improve this Doc
View Source
ExcludeSourceExactly(String, StringComparison)
Declaration
public LogFilterBuilder ExcludeSourceExactly(string source, StringComparison comparison = StringComparison.OrdinalIgnoreCase)
Parameters
Returns
|
Improve this Doc
View Source
ExcludeSourceRegex(Regex)
Performance boost: use your own pre-compiled Regex instance to filter log sources.
Declaration
public LogFilterBuilder ExcludeSourceRegex(Regex regex)
Parameters
Type |
Name |
Description |
Regex |
regex |
|
Returns
|
Improve this Doc
View Source
ExcludeSourceStartingWith(String)
Declaration
public LogFilterBuilder ExcludeSourceStartingWith(string sourceStart)
Parameters
Type |
Name |
Description |
String |
sourceStart |
|
Returns
Extension Methods