MappedDiagnosticsContext Class |
Note: This API is now obsolete.
Namespace: NLog
The MappedDiagnosticsContext type exposes the following members.
Name | Description | |
---|---|---|
Clear | Obsolete.
Clears the content of current thread MDC.
| |
Contains | Obsolete.
Checks whether the specified item exists in current thread MDC.
| |
Get(String) | Obsolete.
Gets the current thread MDC named item, as String.
| |
Get(String, IFormatProvider) | Obsolete.
Gets the current thread MDC named item, as String.
| |
GetNames | Obsolete.
Returns all item names
| |
GetObject | Obsolete.
Gets the current thread MDC named item, as Object.
| |
Remove | Obsolete.
Removes the specified item from current thread MDC.
| |
Set(String, Object) | Obsolete.
Sets the current thread MDC item to the specified value.
| |
Set(String, String) | Obsolete.
Sets the current thread MDC item to the specified value.
| |
SetScoped(String, Object) | Obsolete.
Sets the current thread MDC item to the specified value.
| |
SetScoped(String, String) | Obsolete.
Sets the current thread MDC item to the specified value.
|