| GlobalDiagnosticsContextSet Method (String, String) |
Sets the value with the specified key in the Global Diagnostics Context (GDC) dictionary
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public static void Set(
string item,
string value
)
Public Shared Sub Set (
item As String,
value As String
)
Dim item As String
Dim value As String
GlobalDiagnosticsContext.Set(item, value)
static member Set :
item : string *
value : string -> unit
Parameters
- item
- Type: SystemString
Item name. - value
- Type: SystemString
Item value.
See Also