Click or drag to resize
MappedDiagnosticsContextSet Method (String, String)
Sets the current thread MDC item to the specified value.

Namespace: NLog
Assembly: NLog (in NLog.dll) Version: 4.3.0
Syntax
public static void Set(
	string item,
	string value
)

Parameters

item
Type: SystemString
Item name.
value
Type: SystemString
Item value.
See Also