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