1 instantiation of ExceptionLogger
NuGet.Common (1)
Logging\ExceptionLogger.cs (1)
39public static ExceptionLogger Instance { get; } = new ExceptionLogger(EnvironmentVariableWrapper.Instance);
5 references to ExceptionLogger
NuGet.CommandLine.XPlat (3)
Commands\ConfigCommands\ConfigCommand.cs (1)
68if (ExceptionLogger.Instance.ShowStack)
Program.cs (2)
226if (ExceptionLogger.Instance.ShowStack) 291if (ExceptionLogger.Instance.ShowStack)
NuGet.Common (2)
ExceptionUtilities.cs (1)
50var stackLevel = (logStackAsError || ExceptionLogger.Instance.ShowStack) ? LogLevel.Error : LogLevel.Verbose;
Logging\ExceptionLogger.cs (1)
39public static ExceptionLogger Instance { get; } = new ExceptionLogger(EnvironmentVariableWrapper.Instance);