37 references to CommandLoggingContext
dotnet (25)
Commands\BuildServer\Shutdown\BuildServerShutdownCommand.cs (1)
147if (CommandLoggingContext.IsVerbose)
Commands\New\NewCommandParser.cs (13)
86if (diagnosticMode || CommandLoggingContext.IsVerbose) 88CommandLoggingContext.SetError(true); 89CommandLoggingContext.SetOutput(true); 90CommandLoggingContext.SetVerbose(true); 102CommandLoggingContext.SetError(false); 103CommandLoggingContext.SetOutput(false); 104CommandLoggingContext.SetVerbose(false); 108CommandLoggingContext.SetError(true); 109CommandLoggingContext.SetOutput(false); 110CommandLoggingContext.SetVerbose(false); 114CommandLoggingContext.SetError(true); 115CommandLoggingContext.SetOutput(true); 116CommandLoggingContext.SetVerbose(false);
Commands\Run\RunCommand.cs (1)
783if (CommandLoggingContext.IsVerbose)
Commands\Run\VirtualProjectBuildingCommand.cs (1)
381Reporter.Error.WriteLine(CommandLoggingContext.IsVerbose ?
Commands\Tool\Restore\ToolRestoreCommand.cs (1)
95if (CommandLoggingContext.IsVerbose)
Parser.cs (4)
269Reporter.Error.WriteLine(CommandLoggingContext.IsVerbose ? 275Reporter.Error.WriteLine(CommandLoggingContext.IsVerbose ? 282Reporter.Error.WriteLine(CommandLoggingContext.IsVerbose ? 289Reporter.Error.WriteLine(CommandLoggingContext.IsVerbose ?
Program.cs (4)
85Reporter.Error.WriteLine(CommandLoggingContext.IsVerbose 161Environment.SetEnvironmentVariable(CommandLoggingContext.Variables.Verbose, bool.TrueString); 162CommandLoggingContext.SetVerbose(true); 227if (CommandLoggingContext.IsVerbose)
Microsoft.DotNet.Cli.Utils (11)
Command.cs (6)
44if (CommandLoggingContext.IsVerbose) 71if (CommandLoggingContext.IsVerbose) 134if (!onlyIfVerbose || CommandLoggingContext.IsVerbose) 141EnvironmentVariable(CommandLoggingContext.Variables.AnsiPassThru, ansiPassThrough.ToString()); 154if (!onlyIfVerbose || CommandLoggingContext.IsVerbose) 161EnvironmentVariable(CommandLoggingContext.Variables.AnsiPassThru, ansiPassThrough.ToString());
Reporter.cs (5)
96Output = CommandLoggingContext.OutputEnabled ? s_outputReporter : NullReporter; 101Error = CommandLoggingContext.ErrorEnabled ? s_errorReporter : NullReporter; 106Verbose = CommandLoggingContext.IsVerbose ? s_verboseReporter : NullReporter; 113if (CommandLoggingContext.ShouldPassAnsiCodesThrough) 133if (CommandLoggingContext.ShouldPassAnsiCodesThrough)
Microsoft.NET.TestFramework (1)
TestContext.cs (1)
136CommandLoggingContext.SetVerbose(true);