Delegate ActivityMonitor.SourceFilter.FilterSourceDelegate
Delegate type that can be assigned to FilterSource static property to enable filter override based on the caller source location.
Namespace: CK.Core
Assembly: CK.ActivityMonitor.dll
Syntax
public delegate SourceLogFilter FilterSourceDelegate(ref string fileName, ref int lineNumber);
Parameters
| Type | Name | Description |
|---|---|---|
| String | fileName | FileName of the source file (that can be changed, typically by removing a common path prefix). |
| Int32 | lineNumber | The line number in the source file. |
Returns
| Type | Description |
|---|---|
| SourceLogFilter | The SourceLogFilter to apply. Must default to Undefined. |