Click or drag to resize

GlobalDiagnosticsContextSet Method (String, Object)

Sets the value with the specified key in the Global Diagnostics Context (GDC) dictionary

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public static void Set(
	string item,
	Object? value
)

Parameters

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