Свойство | Тип | Описание | |
---|---|---|---|
FilterSource | FilterSourceDelegate |
Метод | Описание | |
---|---|---|
ClearAll ( ) : void |
Clears all existing filters.
|
|
ClearMinimals ( ) : void |
Clears all existing Minimal filters.
|
|
ClearOverrides ( ) : void |
Clears all existing Override filters.
|
|
DefaultFilter ( string &fileName, int &lineNumber ) : |
Default filter, challenging file names added by SetFilter method.
|
|
SetFilter ( |
Sets a SourceLogFilter for a given file. Use SourceLogFilter.Undefined to clear any existing configuration for the file.
|
|
SetMinimalFilter ( |
Sets a minimal LogFilter for a given file. Use LogFilter.Undefined to clear it.
|
|
SetOverrideFilter ( |
Sets an override LogFilter for a given file: when not LogFilter.Undefined this takes precedence over IActivityMonitor.ActualFilter. Use LogFilter.Undefined to clear it.
|
|
Update ( Func |
Updates (or simply scans) all existing filters. When the mapper returns SourceLogFilter.Undefined, the file configuration is removed. |
Метод | Описание | |
---|---|---|
SourceFilter ( ) : System |
public static DefaultFilter ( string &fileName, int &lineNumber ) : |
||
fileName | string | The file name. |
lineNumber | int | The line number. |
Результат |
public static SetFilter ( |
||
filter | The filter to set for the file. | |
fileName | [ | The file name: do not specify it to inject the path of your source file. |
Результат | void |
public static SetMinimalFilter ( |
||
minimalFilter | The minimal filter to set for the file. | |
fileName | [ | The file name: do not specify it to inject the path of your source file. |
Результат | void |
public static SetOverrideFilter ( |
||
overrideFilter | The override filter to set for the file. | |
fileName | [ | The file name: do not specify it to inject the path of your source file. |
Результат | void |
public static Update ( Func |
||
mapper | Func |
/// Function that takes the file name, the existing filter and maps it to a new filter. /// |
Результат | void |