2 instantiations of PluginLogger
NuGet.Protocol (2)
Plugins\Logging\PluginLogger.cs (2)
31
private static PluginLogger s_defaultInstanceBackingField = new
PluginLogger
(EnvironmentVariableWrapper.Instance);
41
PluginLogger 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)
29
internal static
PluginLogger
DefaultInstance => s_defaultInstanceBackingField;
31
private static
PluginLogger
s_defaultInstanceBackingField = new PluginLogger(EnvironmentVariableWrapper.Instance);
41
PluginLogger
previous = Interlocked.Exchange(ref s_defaultInstanceBackingField, new PluginLogger(EnvironmentVariableWrapper.Instance));
103
throw 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;
347
var
logger =
PluginLogger
.DefaultInstance;