1 instantiation of ExceptionLogger
NuGet.Common (1)
Logging\ExceptionLogger.cs (1)
51
get => s_instance ??= new
ExceptionLogger
(EnvironmentVariableWrapper.Instance);
5 references to ExceptionLogger
NuGet.CommandLine.XPlat (2)
Commands\ConfigCommands\ConfigCommand.cs (1)
19
if (
ExceptionLogger
.Instance.ShowStack)
Program.cs (1)
199
if (
ExceptionLogger
.Instance.ShowStack)
NuGet.Common (3)
ExceptionUtilities.cs (1)
50
var stackLevel = (logStackAsError ||
ExceptionLogger
.Instance.ShowStack) ? LogLevel.Error : LogLevel.Verbose;
Logging\ExceptionLogger.cs (2)
45
private static
ExceptionLogger
? s_instance;
47
public static
ExceptionLogger
Instance