1 write to Instance
NuGet.Common (1)
Logging\ExceptionLogger.cs (1)
51
internal static void ResetInstance() =>
Instance
= new ExceptionLogger(EnvironmentVariableWrapper.Instance);
4 references to Instance
NuGet.CommandLine.XPlat (2)
Commands\ConfigCommands\ConfigCommand.cs (1)
19
if (ExceptionLogger.
Instance
.ShowStack)
Program.cs (1)
192
if (ExceptionLogger.
Instance
.ShowStack)
NuGet.Common (2)
ExceptionUtilities.cs (1)
50
var stackLevel = (logStackAsError || ExceptionLogger.
Instance
.ShowStack) ? LogLevel.Error : LogLevel.Verbose;
Logging\ExceptionLogger.cs (1)
48
/// Recreates <see cref="
Instance
" /> from the current environment so a reused process observes the