2 instantiations of PluginLogger
NuGet.Protocol (2)
Plugins\Logging\PluginLogger.cs (2)
31private static PluginLogger s_defaultInstanceBackingField = new PluginLogger(EnvironmentVariableWrapper.Instance); 41PluginLogger previous = Interlocked.Exchange(ref s_defaultInstanceBackingField, new PluginLogger(EnvironmentVariableWrapper.Instance));
11 references to PluginLogger
NuGet.Protocol (11)
Plugins\Connection.cs (1)
65: this(dispatcher, sender, receiver, options, PluginLogger.DefaultInstance)
Plugins\InboundRequestContext.cs (1)
41: this(connection, requestId, cancellationToken, new InboundRequestProcessingHandler(), PluginLogger.DefaultInstance)
Plugins\Logging\PluginLogger.cs (4)
29internal static PluginLogger DefaultInstance => s_defaultInstanceBackingField; 31private static PluginLogger s_defaultInstanceBackingField = new PluginLogger(EnvironmentVariableWrapper.Instance); 41PluginLogger previous = Interlocked.Exchange(ref s_defaultInstanceBackingField, new PluginLogger(EnvironmentVariableWrapper.Instance)); 103throw new ObjectDisposedException(nameof(PluginLogger));
Plugins\MessageDispatcher.cs (1)
45: this(requestHandlers, idGenerator, new InboundRequestProcessingHandler(), PluginLogger.DefaultInstance)
Plugins\OutboundRequestContext`1.cs (1)
59: this(connection, request, timeout, isKeepAlive, cancellationToken, PluginLogger.DefaultInstance)
Plugins\PluginFactory.cs (3)
61_logger = PluginLogger.DefaultInstance; 347var logger = PluginLogger.DefaultInstance;