Class ActivityMonitorSenderExtension
Provides OpenXXX and XXX (Trace, Info,...Fatal) extension methods for IActivityMonitor.
Inherited Members
Namespace: CK.Core
Assembly: CK.ActivityMonitor.StandardSender.dll
Syntax
public static class ActivityMonitorSenderExtension
Methods
| Improve this Doc View SourceDebug(IActivityMonitor, Int32, String)
Filters Debug logs. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.
Declaration
public static IActivityMonitorLineSender Debug(this IActivityMonitor this, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Int32 | lineNumber | Line number in the source file (automatically injected by C# compiler). |
| String | fileName | Source file name of the emitter (automatically injected by C# compiler). |
Returns
| Type | Description |
|---|---|
| IActivityMonitorLineSender | A CK.Core.ActivityMonitorLineSender or null if the log must not be emitted. |
Error(IActivityMonitor, Int32, String)
Filters Error logs. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.
Declaration
public static IActivityMonitorLineSender Error(this IActivityMonitor this, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Int32 | lineNumber | Line number in the source file (automatically injected by C# compiler). |
| String | fileName | Source file name of the emitter (automatically injected by C# compiler). |
Returns
| Type | Description |
|---|---|
| IActivityMonitorLineSender | A CK.Core.ActivityMonitorLineSender or null if the log must not be emitted. |
Fatal(IActivityMonitor, Int32, String)
Filters Fatal logs. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.
Declaration
public static IActivityMonitorLineSender Fatal(this IActivityMonitor this, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Int32 | lineNumber | Line number in the source file (automatically injected by C# compiler). |
| String | fileName | Source file name of the emitter (automatically injected by C# compiler). |
Returns
| Type | Description |
|---|---|
| IActivityMonitorLineSender | A CK.Core.ActivityMonitorLineSender or null if the log must not be emitted. |
Info(IActivityMonitor, Int32, String)
Filters Info logs. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.
Declaration
public static IActivityMonitorLineSender Info(this IActivityMonitor this, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Int32 | lineNumber | Line number in the source file (automatically injected by C# compiler). |
| String | fileName | Source file name of the emitter (automatically injected by C# compiler). |
Returns
| Type | Description |
|---|---|
| IActivityMonitorLineSender | A CK.Core.ActivityMonitorLineSender or null if the log must not be emitted. |
OpenDebug(IActivityMonitor, Int32, String)
Filtered Debug group opening. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.
Declaration
public static IActivityMonitorGroupSender OpenDebug(this IActivityMonitor this, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Int32 | lineNumber | Line number in the source file (automatically injected by C# compiler). |
| String | fileName | Source file name of the emitter (automatically injected by C# compiler). |
Returns
| Type | Description |
|---|---|
| IActivityMonitorGroupSender | A CK.Core.ActivityMonitorGroupSender or null if the group must not be emitted. |
OpenError(IActivityMonitor, Int32, String)
Filtered Error group opening. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.
Declaration
public static IActivityMonitorGroupSender OpenError(this IActivityMonitor this, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Int32 | lineNumber | Line number in the source file (automatically injected by C# compiler). |
| String | fileName | Source file name of the emitter (automatically injected by C# compiler). |
Returns
| Type | Description |
|---|---|
| IActivityMonitorGroupSender | A CK.Core.ActivityMonitorGroupSender or null if the group must not be emitted. |
OpenFatal(IActivityMonitor, Int32, String)
Filtered Fatal group opening. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.
Declaration
public static IActivityMonitorGroupSender OpenFatal(this IActivityMonitor this, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Int32 | lineNumber | Line number in the source file (automatically injected by C# compiler). |
| String | fileName | Source file name of the emitter (automatically injected by C# compiler). |
Returns
| Type | Description |
|---|---|
| IActivityMonitorGroupSender | A CK.Core.ActivityMonitorGroupSender or null if the group must not be emitted. |
OpenInfo(IActivityMonitor, Int32, String)
Filtered Info group opening. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.
Declaration
public static IActivityMonitorGroupSender OpenInfo(this IActivityMonitor this, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Int32 | lineNumber | Line number in the source file (automatically injected by C# compiler). |
| String | fileName | Source file name of the emitter (automatically injected by C# compiler). |
Returns
| Type | Description |
|---|---|
| IActivityMonitorGroupSender | A CK.Core.ActivityMonitorGroupSender or null if the group must not be emitted. |
OpenTrace(IActivityMonitor, Int32, String)
Filtered Trace group opening. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.
Declaration
public static IActivityMonitorGroupSender OpenTrace(this IActivityMonitor this, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Int32 | lineNumber | Line number in the source file (automatically injected by C# compiler). |
| String | fileName | Source file name of the emitter (automatically injected by C# compiler). |
Returns
| Type | Description |
|---|---|
| IActivityMonitorGroupSender | A CK.Core.ActivityMonitorGroupSender or null if the group must not be emitted. |
OpenWarn(IActivityMonitor, Int32, String)
Filtered Warn group opening. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.
Declaration
public static IActivityMonitorGroupSender OpenWarn(this IActivityMonitor this, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Int32 | lineNumber | Line number in the source file (automatically injected by C# compiler). |
| String | fileName | Source file name of the emitter (automatically injected by C# compiler). |
Returns
| Type | Description |
|---|---|
| IActivityMonitorGroupSender | A CK.Core.ActivityMonitorGroupSender or null if the group must not be emitted. |
Trace(IActivityMonitor, Int32, String)
Filters Trace logs. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.
Declaration
public static IActivityMonitorLineSender Trace(this IActivityMonitor this, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Int32 | lineNumber | Line number in the source file (automatically injected by C# compiler). |
| String | fileName | Source file name of the emitter (automatically injected by C# compiler). |
Returns
| Type | Description |
|---|---|
| IActivityMonitorLineSender | A CK.Core.ActivityMonitorLineSender or null if the log must not be emitted. |
Warn(IActivityMonitor, Int32, String)
Filters Warn logs. FileName end LineNumber may be also used to determine whether the log should eventually be emitted.
Declaration
public static IActivityMonitorLineSender Warn(this IActivityMonitor this, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Int32 | lineNumber | Line number in the source file (automatically injected by C# compiler). |
| String | fileName | Source file name of the emitter (automatically injected by C# compiler). |
Returns
| Type | Description |
|---|---|
| IActivityMonitorLineSender | A CK.Core.ActivityMonitorLineSender or null if the log must not be emitted. |