4 references to Instance
NuGet.CommandLine.XPlat (2)
Commands\ConfigCommands\ConfigCommand.cs (1)
19if (ExceptionLogger.Instance.ShowStack)
Program.cs (1)
199if (ExceptionLogger.Instance.ShowStack)
NuGet.Common (2)
ExceptionUtilities.cs (1)
50var stackLevel = (logStackAsError || ExceptionLogger.Instance.ShowStack) ? LogLevel.Error : LogLevel.Verbose;
Logging\ExceptionLogger.cs (1)
56/// Discards <see cref="Instance" /> so a reused process rebuilds it from the next build's environment.