NLog.MDC.Set C# (CSharp) Method

Set() public static method

Sets the current thread MDC item to the specified value.
public static Set ( string item, string value ) : void
item string Item name.
value string Item value.
return void
        public static void Set(string item, string value)
        {
            MappedDiagnosticsContext.Set(item, value);
        }