Class ActivityMonitorSimpleSenderExtension
Provides OpenXXX and XXX (Debug, Trace, Info,...Fatal) extension methods for IActivityMonitor.
Inherited Members
Namespace: CK.Core
Assembly: CK.ActivityMonitor.SimpleSender.dll
Syntax
public static class ActivityMonitorSimpleSenderExtension
Methods
| Improve this Doc View SourceDebug(IActivityMonitor, Exception, CKTrait, Int32, String)
Emits a Debug with an exception and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Debug(this IActivityMonitor this, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Debug(IActivityMonitor, Exception, Int32, String)
Emits a Debug with an exception if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Debug(this IActivityMonitor this, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| 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). |
Debug(IActivityMonitor, Func<String>, CKTrait, Int32, String)
Generates and emits a Debug string and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Debug(this IActivityMonitor this, Func<string> text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Debug(IActivityMonitor, Func<String>, Exception, CKTrait, Int32, String)
Generates and emits a Debug string associated to an exception and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Debug(this IActivityMonitor this, Func<string> text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Debug(IActivityMonitor, Func<String>, Exception, Int32, String)
Generates and emits a Debug string associated to an exception if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Debug(this IActivityMonitor this, Func<string> text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| 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). |
Debug(IActivityMonitor, Func<String>, Int32, String)
Generates and emits a Debug string if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Debug(this IActivityMonitor this, Func<string> text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| 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). |
Debug(IActivityMonitor, String, CKTrait, Int32, String)
Emits a Debug string and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Debug(this IActivityMonitor this, string text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Debug(IActivityMonitor, String, Exception, CKTrait, Int32, String)
Emits a Debug string associated to an exception and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Debug(this IActivityMonitor this, string text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Debug(IActivityMonitor, String, Exception, Int32, String)
Emits a Debug string associated to an exception if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Debug(this IActivityMonitor this, string text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| 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). |
Debug(IActivityMonitor, String, Int32, String)
Emits a Debug string if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Debug(this IActivityMonitor this, string text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| 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). |
Error(IActivityMonitor, Exception, CKTrait, Int32, String)
Emits a Error with an exception and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Error(this IActivityMonitor this, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Error(IActivityMonitor, Exception, Int32, String)
Emits a Error with an exception if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Error(this IActivityMonitor this, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| 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). |
Error(IActivityMonitor, Func<String>, CKTrait, Int32, String)
Generates and emits a Error string and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Error(this IActivityMonitor this, Func<string> text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Error(IActivityMonitor, Func<String>, Exception, CKTrait, Int32, String)
Generates and emits a Error string associated to an exception and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Error(this IActivityMonitor this, Func<string> text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Error(IActivityMonitor, Func<String>, Exception, Int32, String)
Generates and emits a Error string associated to an exception if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Error(this IActivityMonitor this, Func<string> text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| 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). |
Error(IActivityMonitor, Func<String>, Int32, String)
Generates and emits a Error string if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Error(this IActivityMonitor this, Func<string> text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| 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). |
Error(IActivityMonitor, String, CKTrait, Int32, String)
Emits a Error string and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Error(this IActivityMonitor this, string text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Error(IActivityMonitor, String, Exception, CKTrait, Int32, String)
Emits a Error string associated to an exception and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Error(this IActivityMonitor this, string text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Error(IActivityMonitor, String, Exception, Int32, String)
Emits a Error string associated to an exception if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Error(this IActivityMonitor this, string text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| 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). |
Error(IActivityMonitor, String, Int32, String)
Emits a Error string if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Error(this IActivityMonitor this, string text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| 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). |
Fatal(IActivityMonitor, Exception, CKTrait, Int32, String)
Emits a Fatal with an exception and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Fatal(this IActivityMonitor this, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Fatal(IActivityMonitor, Exception, Int32, String)
Emits a Fatal with an exception if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Fatal(this IActivityMonitor this, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| 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). |
Fatal(IActivityMonitor, Func<String>, CKTrait, Int32, String)
Generates and emits a Fatal string and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Fatal(this IActivityMonitor this, Func<string> text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Fatal(IActivityMonitor, Func<String>, Exception, CKTrait, Int32, String)
Generates and emits a Fatal string associated to an exception and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Fatal(this IActivityMonitor this, Func<string> text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Fatal(IActivityMonitor, Func<String>, Exception, Int32, String)
Generates and emits a Fatal string associated to an exception if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Fatal(this IActivityMonitor this, Func<string> text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| 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). |
Fatal(IActivityMonitor, Func<String>, Int32, String)
Generates and emits a Fatal string if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Fatal(this IActivityMonitor this, Func<string> text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| 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). |
Fatal(IActivityMonitor, String, CKTrait, Int32, String)
Emits a Fatal string and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Fatal(this IActivityMonitor this, string text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Fatal(IActivityMonitor, String, Exception, CKTrait, Int32, String)
Emits a Fatal string associated to an exception and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Fatal(this IActivityMonitor this, string text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Fatal(IActivityMonitor, String, Exception, Int32, String)
Emits a Fatal string associated to an exception if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Fatal(this IActivityMonitor this, string text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| 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). |
Fatal(IActivityMonitor, String, Int32, String)
Emits a Fatal string if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Fatal(this IActivityMonitor this, string text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| 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). |
Info(IActivityMonitor, Exception, CKTrait, Int32, String)
Emits a Info with an exception and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Info(this IActivityMonitor this, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Info(IActivityMonitor, Exception, Int32, String)
Emits a Info with an exception if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Info(this IActivityMonitor this, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| 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). |
Info(IActivityMonitor, Func<String>, CKTrait, Int32, String)
Generates and emits a Info string and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Info(this IActivityMonitor this, Func<string> text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Info(IActivityMonitor, Func<String>, Exception, CKTrait, Int32, String)
Generates and emits a Info string associated to an exception and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Info(this IActivityMonitor this, Func<string> text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Info(IActivityMonitor, Func<String>, Exception, Int32, String)
Generates and emits a Info string associated to an exception if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Info(this IActivityMonitor this, Func<string> text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| 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). |
Info(IActivityMonitor, Func<String>, Int32, String)
Generates and emits a Info string if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Info(this IActivityMonitor this, Func<string> text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| 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). |
Info(IActivityMonitor, String, CKTrait, Int32, String)
Emits a Info string and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Info(this IActivityMonitor this, string text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Info(IActivityMonitor, String, Exception, CKTrait, Int32, String)
Emits a Info string associated to an exception and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Info(this IActivityMonitor this, string text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Info(IActivityMonitor, String, Exception, Int32, String)
Emits a Info string associated to an exception if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Info(this IActivityMonitor this, string text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| 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). |
Info(IActivityMonitor, String, Int32, String)
Emits a Info string if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Info(this IActivityMonitor this, string text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| 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). |
Log(IActivityMonitor, LogLevel, Exception, CKTrait, Int32, String)
Emits a LogLevel with an exception and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Log(this IActivityMonitor this, LogLevel level, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| LogLevel | level | The log level. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Log(IActivityMonitor, LogLevel, Exception, Int32, String)
Emits a LogLevel exception if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Log(this IActivityMonitor this, LogLevel level, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| LogLevel | level | The log level. |
| Exception | ex | The exception to log. |
| 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). |
Log(IActivityMonitor, LogLevel, Func<String>, CKTrait, Int32, String)
Generates and emits a LogLevel text message and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Log(this IActivityMonitor this, LogLevel level, Func<string> text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| LogLevel | level | The log level. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Log(IActivityMonitor, LogLevel, Func<String>, Exception, CKTrait, Int32, String)
Generates and emits a LogLevel text message associated to an exception and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Log(this IActivityMonitor this, LogLevel level, Func<string> text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| LogLevel | level | The log level. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Log(IActivityMonitor, LogLevel, Func<String>, Exception, Int32, String)
Generates and emits a LogLevel text message associated to an exception if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Log(this IActivityMonitor this, LogLevel level, Func<string> text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| LogLevel | level | The log level. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| 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). |
Log(IActivityMonitor, LogLevel, Func<String>, Int32, String)
Generates and emits a LogLevel text message if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Log(this IActivityMonitor this, LogLevel level, Func<string> text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| LogLevel | level | The log level. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| 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). |
Log(IActivityMonitor, LogLevel, String, CKTrait, Int32, String)
Emits a LogLevel text message and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Log(this IActivityMonitor this, LogLevel level, string text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| LogLevel | level | The log level. |
| String | text | The text to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Log(IActivityMonitor, LogLevel, String, Exception, CKTrait, Int32, String)
Emits a LogLevel text message associated to an exception and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Log(this IActivityMonitor this, LogLevel level, string text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| LogLevel | level | The log level. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Log(IActivityMonitor, LogLevel, String, Exception, Int32, String)
Emits a LogLevel text message associated to an exception if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Log(this IActivityMonitor this, LogLevel level, string text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| LogLevel | level | The log level. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| 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). |
Log(IActivityMonitor, LogLevel, String, Int32, String)
Emits a LogLevel text message if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Log(this IActivityMonitor this, LogLevel level, string text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| LogLevel | level | The log level. |
| String | text | The text to log. |
| 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). |
OpenDebug(IActivityMonitor, Exception, CKTrait, Int32, String)
Opens a Debug group with an exception and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenDebug(this IActivityMonitor this, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenDebug(IActivityMonitor, Exception, Int32, String)
Opens a Debug group with an exception. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenDebug(this IActivityMonitor this, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenDebug(IActivityMonitor, Func<String>, CKTrait, Int32, String)
Opens a Debug group with a text message built only if the group must be emitted and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenDebug(this IActivityMonitor this, Func<string> text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| CKTrait | tags | The tags for this group. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenDebug(IActivityMonitor, Func<String>, Exception, CKTrait, Int32, String)
Opens a Debug group with a text message built only if the group must be emitted, an exception and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenDebug(this IActivityMonitor this, Func<string> text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this group. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenDebug(IActivityMonitor, Func<String>, Exception, Int32, String)
Opens a Debug group with a text message built only if the group must be emitted and an exception. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenDebug(this IActivityMonitor this, Func<string> text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenDebug(IActivityMonitor, Func<String>, Int32, String)
Opens a Debug group with a text message built only if the group must be emitted. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenDebug(this IActivityMonitor this, Func<string> text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenDebug(IActivityMonitor, String, CKTrait, Int32, String)
Opens a Debug group with a text message and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenDebug(this IActivityMonitor this, string text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| CKTrait | tags | The tags for this log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenDebug(IActivityMonitor, String, Exception, CKTrait, Int32, String)
Opens a Debug group with a text message associated to an exception and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenDebug(this IActivityMonitor this, string text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenDebug(IActivityMonitor, String, Exception, Int32, String)
Opens a Debug group with a text message associated to an exception. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenDebug(this IActivityMonitor this, string text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenDebug(IActivityMonitor, String, Int32, String)
Opens a Debug group with a text message. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenDebug(this IActivityMonitor this, string text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenError(IActivityMonitor, Exception, CKTrait, Int32, String)
Opens a Error group with an exception and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenError(this IActivityMonitor this, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenError(IActivityMonitor, Exception, Int32, String)
Opens a Error group with an exception. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenError(this IActivityMonitor this, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenError(IActivityMonitor, Func<String>, CKTrait, Int32, String)
Opens a Error group with a text message built only if the group must be emitted and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenError(this IActivityMonitor this, Func<string> text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| CKTrait | tags | The tags for this group. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenError(IActivityMonitor, Func<String>, Exception, CKTrait, Int32, String)
Opens a Error group with a text message built only if the group must be emitted, an exception and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenError(this IActivityMonitor this, Func<string> text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this group. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenError(IActivityMonitor, Func<String>, Exception, Int32, String)
Opens a Error group with a text message built only if the group must be emitted and an exception. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenError(this IActivityMonitor this, Func<string> text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenError(IActivityMonitor, Func<String>, Int32, String)
Opens a Error group with a text message built only if the group must be emitted. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenError(this IActivityMonitor this, Func<string> text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenError(IActivityMonitor, String, CKTrait, Int32, String)
Opens a Error group with a text message and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenError(this IActivityMonitor this, string text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| CKTrait | tags | The tags for this log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenError(IActivityMonitor, String, Exception, CKTrait, Int32, String)
Opens a Error group with a text message associated to an exception and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenError(this IActivityMonitor this, string text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenError(IActivityMonitor, String, Exception, Int32, String)
Opens a Error group with a text message associated to an exception. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenError(this IActivityMonitor this, string text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenError(IActivityMonitor, String, Int32, String)
Opens a Error group with a text message. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenError(this IActivityMonitor this, string text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenFatal(IActivityMonitor, Exception, CKTrait, Int32, String)
Opens a Fatal group with an exception and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenFatal(this IActivityMonitor this, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenFatal(IActivityMonitor, Exception, Int32, String)
Opens a Fatal group with an exception. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenFatal(this IActivityMonitor this, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenFatal(IActivityMonitor, Func<String>, CKTrait, Int32, String)
Opens a Fatal group with a text message built only if the group must be emitted and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenFatal(this IActivityMonitor this, Func<string> text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| CKTrait | tags | The tags for this group. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenFatal(IActivityMonitor, Func<String>, Exception, CKTrait, Int32, String)
Opens a Fatal group with a text message built only if the group must be emitted, an exception and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenFatal(this IActivityMonitor this, Func<string> text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this group. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenFatal(IActivityMonitor, Func<String>, Exception, Int32, String)
Opens a Fatal group with a text message built only if the group must be emitted and an exception. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenFatal(this IActivityMonitor this, Func<string> text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenFatal(IActivityMonitor, Func<String>, Int32, String)
Opens a Fatal group with a text message built only if the group must be emitted. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenFatal(this IActivityMonitor this, Func<string> text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenFatal(IActivityMonitor, String, CKTrait, Int32, String)
Opens a Fatal group with a text message and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenFatal(this IActivityMonitor this, string text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| CKTrait | tags | The tags for this log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenFatal(IActivityMonitor, String, Exception, CKTrait, Int32, String)
Opens a Fatal group with a text message associated to an exception and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenFatal(this IActivityMonitor this, string text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenFatal(IActivityMonitor, String, Exception, Int32, String)
Opens a Fatal group with a text message associated to an exception. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenFatal(this IActivityMonitor this, string text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenFatal(IActivityMonitor, String, Int32, String)
Opens a Fatal group with a text message. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenFatal(this IActivityMonitor this, string text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenGroup(IActivityMonitor, LogLevel, Exception, CKTrait, Int32, String)
Opens a given LogLevel group with an exception and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenGroup(this IActivityMonitor this, LogLevel level, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| LogLevel | level | The log level. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenGroup(IActivityMonitor, LogLevel, Exception, Int32, String)
Opens a given LogLevel group with an exception. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenGroup(this IActivityMonitor this, LogLevel level, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| LogLevel | level | The log level. |
| Exception | ex | The exception to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenGroup(IActivityMonitor, LogLevel, Func<String>, CKTrait, Int32, String)
Opens a given LogLevel group with a text message built only if the group must be emitted and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenGroup(this IActivityMonitor this, LogLevel level, Func<string> text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| LogLevel | level | The log level. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| CKTrait | tags | The tags for this group. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenGroup(IActivityMonitor, LogLevel, Func<String>, Exception, CKTrait, Int32, String)
Opens a given LogLevel group with a text message built only if the group must be emitted, an exception and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenGroup(this IActivityMonitor this, LogLevel level, Func<string> text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| LogLevel | level | The log level. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this group. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenGroup(IActivityMonitor, LogLevel, Func<String>, Exception, Int32, String)
Opens a given LogLevel group with a text message built only if the group must be emitted and an exception. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenGroup(this IActivityMonitor this, LogLevel level, Func<string> text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| LogLevel | level | The log level. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenGroup(IActivityMonitor, LogLevel, Func<String>, Int32, String)
Opens a given LogLevel group with a text message built only if the group must be emitted. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenGroup(this IActivityMonitor this, LogLevel level, Func<string> text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| LogLevel | level | The log level. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenGroup(IActivityMonitor, LogLevel, String, CKTrait, Int32, String)
Opens a given LogLevel group with a text message and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenGroup(this IActivityMonitor this, LogLevel level, string text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| LogLevel | level | The log level. |
| String | text | The text to log. |
| CKTrait | tags | The tags for this log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenGroup(IActivityMonitor, LogLevel, String, Exception, CKTrait, Int32, String)
Opens a given LogLevel group with a text message associated to an exception and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenGroup(this IActivityMonitor this, LogLevel level, string text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| LogLevel | level | The log level. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenGroup(IActivityMonitor, LogLevel, String, Exception, Int32, String)
Opens a given LogLevel group with a text message associated to an exception. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenGroup(this IActivityMonitor this, LogLevel level, string text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| LogLevel | level | The log level. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenGroup(IActivityMonitor, LogLevel, String, Int32, String)
Opens a given LogLevel group with a text message. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenGroup(this IActivityMonitor this, LogLevel level, string text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| LogLevel | level | The log level. |
| String | text | The text to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenInfo(IActivityMonitor, Exception, CKTrait, Int32, String)
Opens a Info group with an exception and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenInfo(this IActivityMonitor this, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenInfo(IActivityMonitor, Exception, Int32, String)
Opens a Info group with an exception. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenInfo(this IActivityMonitor this, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenInfo(IActivityMonitor, Func<String>, CKTrait, Int32, String)
Opens a Info group with a text message built only if the group must be emitted and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenInfo(this IActivityMonitor this, Func<string> text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| CKTrait | tags | The tags for this group. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenInfo(IActivityMonitor, Func<String>, Exception, CKTrait, Int32, String)
Opens a Info group with a text message built only if the group must be emitted, an exception and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenInfo(this IActivityMonitor this, Func<string> text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this group. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenInfo(IActivityMonitor, Func<String>, Exception, Int32, String)
Opens a Info group with a text message built only if the group must be emitted and an exception. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenInfo(this IActivityMonitor this, Func<string> text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenInfo(IActivityMonitor, Func<String>, Int32, String)
Opens a Info group with a text message built only if the group must be emitted. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenInfo(this IActivityMonitor this, Func<string> text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenInfo(IActivityMonitor, String, CKTrait, Int32, String)
Opens a Info group with a text message and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenInfo(this IActivityMonitor this, string text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| CKTrait | tags | The tags for this log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenInfo(IActivityMonitor, String, Exception, CKTrait, Int32, String)
Opens a Info group with a text message associated to an exception and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenInfo(this IActivityMonitor this, string text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenInfo(IActivityMonitor, String, Exception, Int32, String)
Opens a Info group with a text message associated to an exception. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenInfo(this IActivityMonitor this, string text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenInfo(IActivityMonitor, String, Int32, String)
Opens a Info group with a text message. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenInfo(this IActivityMonitor this, string text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenTrace(IActivityMonitor, Exception, CKTrait, Int32, String)
Opens a Trace group with an exception and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenTrace(this IActivityMonitor this, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenTrace(IActivityMonitor, Exception, Int32, String)
Opens a Trace group with an exception. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenTrace(this IActivityMonitor this, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenTrace(IActivityMonitor, Func<String>, CKTrait, Int32, String)
Opens a Trace group with a text message built only if the group must be emitted and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenTrace(this IActivityMonitor this, Func<string> text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| CKTrait | tags | The tags for this group. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenTrace(IActivityMonitor, Func<String>, Exception, CKTrait, Int32, String)
Opens a Trace group with a text message built only if the group must be emitted, an exception and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenTrace(this IActivityMonitor this, Func<string> text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this group. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenTrace(IActivityMonitor, Func<String>, Exception, Int32, String)
Opens a Trace group with a text message built only if the group must be emitted and an exception. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenTrace(this IActivityMonitor this, Func<string> text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenTrace(IActivityMonitor, Func<String>, Int32, String)
Opens a Trace group with a text message built only if the group must be emitted. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenTrace(this IActivityMonitor this, Func<string> text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenTrace(IActivityMonitor, String, CKTrait, Int32, String)
Opens a Trace group with a text message and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenTrace(this IActivityMonitor this, string text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| CKTrait | tags | The tags for this log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenTrace(IActivityMonitor, String, Exception, CKTrait, Int32, String)
Opens a Trace group with a text message associated to an exception and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenTrace(this IActivityMonitor this, string text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenTrace(IActivityMonitor, String, Exception, Int32, String)
Opens a Trace group with a text message associated to an exception. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenTrace(this IActivityMonitor this, string text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenTrace(IActivityMonitor, String, Int32, String)
Opens a Trace group with a text message. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenTrace(this IActivityMonitor this, string text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenWarn(IActivityMonitor, Exception, CKTrait, Int32, String)
Opens a Warn group with an exception and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenWarn(this IActivityMonitor this, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenWarn(IActivityMonitor, Exception, Int32, String)
Opens a Warn group with an exception. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenWarn(this IActivityMonitor this, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenWarn(IActivityMonitor, Func<String>, CKTrait, Int32, String)
Opens a Warn group with a text message built only if the group must be emitted and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenWarn(this IActivityMonitor this, Func<string> text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| CKTrait | tags | The tags for this group. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenWarn(IActivityMonitor, Func<String>, Exception, CKTrait, Int32, String)
Opens a Warn group with a text message built only if the group must be emitted, an exception and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenWarn(this IActivityMonitor this, Func<string> text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this group. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenWarn(IActivityMonitor, Func<String>, Exception, Int32, String)
Opens a Warn group with a text message built only if the group must be emitted and an exception. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenWarn(this IActivityMonitor this, Func<string> text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenWarn(IActivityMonitor, Func<String>, Int32, String)
Opens a Warn group with a text message built only if the group must be emitted. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenWarn(this IActivityMonitor this, Func<string> text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenWarn(IActivityMonitor, String, CKTrait, Int32, String)
Opens a Warn group with a text message and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenWarn(this IActivityMonitor this, string text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| CKTrait | tags | The tags for this log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenWarn(IActivityMonitor, String, Exception, CKTrait, Int32, String)
Opens a Warn group with a text message associated to an exception and tags. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenWarn(this IActivityMonitor this, string text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenWarn(IActivityMonitor, String, Exception, Int32, String)
Opens a Warn group with a text message associated to an exception. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenWarn(this IActivityMonitor this, string text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
OpenWarn(IActivityMonitor, String, Int32, String)
Opens a Warn group with a text message. Regardless of whether it will be emitted or not (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber), it must always be closed.
Declaration
public static IDisposableGroup OpenWarn(this IActivityMonitor this, string text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| 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 |
|---|---|
| IDisposableGroup | A disposable object that can be used to set a function that provides a conclusion text and/or close the group. |
Trace(IActivityMonitor, Exception, CKTrait, Int32, String)
Emits a Trace with an exception and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Trace(this IActivityMonitor this, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Trace(IActivityMonitor, Exception, Int32, String)
Emits a Trace with an exception if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Trace(this IActivityMonitor this, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| 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). |
Trace(IActivityMonitor, Func<String>, CKTrait, Int32, String)
Generates and emits a Trace string and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Trace(this IActivityMonitor this, Func<string> text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Trace(IActivityMonitor, Func<String>, Exception, CKTrait, Int32, String)
Generates and emits a Trace string associated to an exception and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Trace(this IActivityMonitor this, Func<string> text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Trace(IActivityMonitor, Func<String>, Exception, Int32, String)
Generates and emits a Trace string associated to an exception if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Trace(this IActivityMonitor this, Func<string> text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| 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). |
Trace(IActivityMonitor, Func<String>, Int32, String)
Generates and emits a Trace string if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Trace(this IActivityMonitor this, Func<string> text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| 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). |
Trace(IActivityMonitor, String, CKTrait, Int32, String)
Emits a Trace string and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Trace(this IActivityMonitor this, string text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Trace(IActivityMonitor, String, Exception, CKTrait, Int32, String)
Emits a Trace string associated to an exception and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Trace(this IActivityMonitor this, string text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Trace(IActivityMonitor, String, Exception, Int32, String)
Emits a Trace string associated to an exception if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Trace(this IActivityMonitor this, string text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| 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). |
Trace(IActivityMonitor, String, Int32, String)
Emits a Trace string if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Trace(this IActivityMonitor this, string text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| 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). |
Warn(IActivityMonitor, Exception, CKTrait, Int32, String)
Emits a Warn with an exception and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Warn(this IActivityMonitor this, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Warn(IActivityMonitor, Exception, Int32, String)
Emits a Warn with an exception if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Warn(this IActivityMonitor this, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Exception | ex | The exception to log. |
| 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). |
Warn(IActivityMonitor, Func<String>, CKTrait, Int32, String)
Generates and emits a Warn string and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Warn(this IActivityMonitor this, Func<string> text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Warn(IActivityMonitor, Func<String>, Exception, CKTrait, Int32, String)
Generates and emits a Warn string associated to an exception and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Warn(this IActivityMonitor this, Func<string> text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Warn(IActivityMonitor, Func<String>, Exception, Int32, String)
Generates and emits a Warn string associated to an exception if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Warn(this IActivityMonitor this, Func<string> text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| Exception | ex | The exception to log. |
| 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). |
Warn(IActivityMonitor, Func<String>, Int32, String)
Generates and emits a Warn string if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Warn(this IActivityMonitor this, Func<string> text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| Func<String> | text | A function (that will be called only if required) that returns the text to log. |
| 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). |
Warn(IActivityMonitor, String, CKTrait, Int32, String)
Emits a Warn string and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Warn(this IActivityMonitor this, string text, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Warn(IActivityMonitor, String, Exception, CKTrait, Int32, String)
Emits a Warn string associated to an exception and tags if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Warn(this IActivityMonitor this, string text, Exception ex, CKTrait tags, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| CKTrait | tags | The tags for this log. |
| 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). |
Warn(IActivityMonitor, String, Exception, Int32, String)
Emits a Warn string associated to an exception if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Warn(this IActivityMonitor this, string text, Exception ex, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| Exception | ex | The exception to log. |
| 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). |
Warn(IActivityMonitor, String, Int32, String)
Emits a Warn string if it must be emitted (this depends on ActualFilter, the global default DefaultFilter and may also depend on fileName and lineNumber).
Declaration
public static void Warn(this IActivityMonitor this, string text, int lineNumber = 0, string fileName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitor | this | This IActivityMonitor. |
| String | text | The text to log. |
| 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). |