C# Class CK.Core.LogFilterMatcherExtension

Supports LogFilter and LogLevelFilter extension methods.
Mostra file Open project: Invenietis/ck-core

Public Methods

Method Description
MatchLogFilter ( this m, LogFilter &f ) : bool

Matches a LogFilter: it can be a predefined filter as ("Undefined", "Debug", "Verbose", etc.) or as {GroupLogLevelFilter,LineLogLevelFilter} pairs like "{None,None}", "{Error,Trace}".

MatchLogLevelFilter ( this @this, LogLevelFilter &level ) : bool

Matches a LogLevelFilter.

Method Details

MatchLogFilter() public static method

Matches a LogFilter: it can be a predefined filter as ("Undefined", "Debug", "Verbose", etc.) or as {GroupLogLevelFilter,LineLogLevelFilter} pairs like "{None,None}", "{Error,Trace}".
public static MatchLogFilter ( this m, LogFilter &f ) : bool
m this This .
f LogFilter Resulting filter.
return bool

MatchLogLevelFilter() public static method

Matches a LogLevelFilter.
public static MatchLogLevelFilter ( this @this, LogLevelFilter &level ) : bool
@this this
level LogLevelFilter Resulting level.
return bool