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