98 references to Diagnostic
Microsoft.Build (21)
BackEnd\Components\Logging\LoggingService.cs (1)
1061LoggerVerbosity.Diagnostic); /*Not used, but the spirit of the logger is to forward everything so this is the most appropriate verbosity */
Instance\ProjectInstance.cs (1)
2706loggers.Any(logger => logger.Verbosity == LoggerVerbosity.Diagnostic) ||
Logging\BaseConsoleLogger.cs (4)
459if (Verbosity == LoggerVerbosity.Diagnostic && showItemAndPropertyList) 482if (Verbosity == LoggerVerbosity.Diagnostic || showEnvironment) 554if (Verbosity != LoggerVerbosity.Diagnostic || !showItemAndPropertyList || itemTypes.Count == 0) 902if (IsVerbosityAtLeast(LoggerVerbosity.Diagnostic))
Logging\BinaryLogger\BinaryLogger.cs (1)
143public LoggerVerbosity Verbosity { get; set; } = LoggerVerbosity.Diagnostic;
Logging\DistributedLoggers\ConfigurableForwardingLogger.cs (1)
261if (IsVerbosityAtLeast(LoggerVerbosity.Diagnostic))
Logging\ParallelLogger\ParallelConsoleLogger.cs (9)
543if (Verbosity == LoggerVerbosity.Diagnostic && showItemAndPropertyList) 911if (IsVerbosityAtLeast(LoggerVerbosity.Diagnostic) || _showEventId) 949if (IsVerbosityAtLeast(LoggerVerbosity.Diagnostic) || _showEventId) 993if (IsVerbosityAtLeast(LoggerVerbosity.Diagnostic) || _showEventId) 1195if (Verbosity == LoggerVerbosity.Diagnostic && showItemAndPropertyList) 1282if ((IsVerbosityAtLeast(LoggerVerbosity.Diagnostic) || _showEventId) && e.BuildEventContext.TaskId != BuildEventContext.InvalidTaskId) 1340if (IsVerbosityAtLeast(LoggerVerbosity.Diagnostic) || _showEventId) 1451if (IsVerbosityAtLeast(LoggerVerbosity.Diagnostic) || _showEventId) 1612if (_showTimeStamp || IsVerbosityAtLeast(LoggerVerbosity.Diagnostic))
Logging\SerialConsoleLogger.cs (4)
270if (Verbosity == LoggerVerbosity.Diagnostic && showItemAndPropertyList) 381|| Verbosity == LoggerVerbosity.Diagnostic) 575if (Verbosity == LoggerVerbosity.Diagnostic && showItemAndPropertyList) 674if (this.Verbosity == LoggerVerbosity.Diagnostic)
Microsoft.Build.CommandLine.UnitTests (3)
TerminalLogger_Tests.cs (1)
545_terminallogger.Verbosity = LoggerVerbosity.Diagnostic;
XMake_Tests.cs (2)
644MSBuildApp.ProcessVerbositySwitch("diag").ShouldBe(LoggerVerbosity.Diagnostic); 645MSBuildApp.ProcessVerbositySwitch("DIAGNOSTIC").ShouldBe(LoggerVerbosity.Diagnostic);
Microsoft.Build.Engine.UnitTests (51)
BackEnd\LoggingService_Tests.cs (3)
1024_initializedService.RegisterLogger(new ConsoleLogger(LoggerVerbosity.Diagnostic)); 1039_initializedService.RegisterLogger(CreateConfigurableForwardingLogger(LoggerVerbosity.Diagnostic)); 1158LoggerVerbosity.Diagnostic); /*Not used, but the spirit of the logger is to forward everything so this is the most appropriate verbosity */
BackEnd\TaskBuilder_Tests.cs (3)
594MockLogger logger = ObjectModelHelpers.BuildProjectExpectSuccess(projectContents, _testOutput, LoggerVerbosity.Diagnostic); 618MockLogger logger = ObjectModelHelpers.BuildProjectExpectSuccess(projectContents, _testOutput, LoggerVerbosity.Diagnostic); 644MockLogger logger = ObjectModelHelpers.BuildProjectExpectSuccess(projectContents, _testOutput, LoggerVerbosity.Diagnostic);
BinaryLogger_Tests.cs (4)
113var serialFromBuild = new SerialConsoleLogger(Framework.LoggerVerbosity.Diagnostic, t => serialFromBuildText.Append(t), colorSet: null, colorReset: null); 117var parallelFromBuild = new ParallelConsoleLogger(Framework.LoggerVerbosity.Diagnostic, t => parallelFromBuildText.Append(t), colorSet: null, colorReset: null); 161var serialFromPlayback = new SerialConsoleLogger(Framework.LoggerVerbosity.Diagnostic, t => serialFromPlaybackText.Append(t), colorSet: null, colorReset: null); 165var parallelFromPlayback = new ParallelConsoleLogger(Framework.LoggerVerbosity.Diagnostic, t => parallelFromPlaybackText.Append(t), colorSet: null, colorReset: null);
ConfigureableForwardingLogger_Tests.cs (2)
64[InlineData(LoggerVerbosity.Diagnostic)] 147case LoggerVerbosity.Diagnostic:
ConsoleLogger_Tests.cs (34)
326ConsoleLogger logger = new ConsoleLogger(LoggerVerbosity.Diagnostic, sc.Write, null, null); 457ConsoleLogger L = new ConsoleLogger(LoggerVerbosity.Diagnostic, 486ConsoleLogger L = new ConsoleLogger(LoggerVerbosity.Diagnostic, 541[InlineData(LoggerVerbosity.Quiet, LoggerVerbosity.Diagnostic, false)] 547[InlineData(LoggerVerbosity.Minimal, LoggerVerbosity.Diagnostic, false)] 553[InlineData(LoggerVerbosity.Normal, LoggerVerbosity.Diagnostic, false)] 559[InlineData(LoggerVerbosity.Detailed, LoggerVerbosity.Diagnostic, false)] 561[InlineData(LoggerVerbosity.Diagnostic, LoggerVerbosity.Quiet, true)] 562[InlineData(LoggerVerbosity.Diagnostic, LoggerVerbosity.Minimal, true)] 563[InlineData(LoggerVerbosity.Diagnostic, LoggerVerbosity.Normal, true)] 564[InlineData(LoggerVerbosity.Diagnostic, LoggerVerbosity.Detailed, true)] 565[InlineData(LoggerVerbosity.Diagnostic, LoggerVerbosity.Diagnostic, true)] 593[InlineData(LoggerVerbosity.Diagnostic, MessageImportance.Low, true)] 594[InlineData(LoggerVerbosity.Diagnostic, MessageImportance.Normal, true)] 595[InlineData(LoggerVerbosity.Diagnostic, MessageImportance.High, true)] 615if (i == 2 && loggerVerbosity == LoggerVerbosity.Diagnostic) 684ConsoleLogger logger = new ConsoleLogger(LoggerVerbosity.Diagnostic, console.Write, console.SetColor, console.ResetColor); 1387ConsoleLogger L = new ConsoleLogger(LoggerVerbosity.Diagnostic, 1473SerialConsoleLogger cl = new SerialConsoleLogger(LoggerVerbosity.Diagnostic, sc.Write, null, null); 1478ParallelConsoleLogger cl2 = new ParallelConsoleLogger(LoggerVerbosity.Diagnostic, sc.Write, null, null); 1551SerialConsoleLogger cl = new SerialConsoleLogger(LoggerVerbosity.Diagnostic, sc.Write, null, null); 1555ParallelConsoleLogger cl2 = new ParallelConsoleLogger(LoggerVerbosity.Diagnostic, sc.Write, null, null); 1609SerialConsoleLogger cl = new SerialConsoleLogger(LoggerVerbosity.Diagnostic, sc.Write, null, null); 1616ParallelConsoleLogger cl2 = new ParallelConsoleLogger(LoggerVerbosity.Diagnostic, sc.Write, null, null); 1760cl = new SerialConsoleLogger(LoggerVerbosity.Diagnostic, sc.Write, null, null); 1764cl = new ParallelConsoleLogger(LoggerVerbosity.Diagnostic, sc.Write, null, null); 1801var cl = new SerialConsoleLogger(LoggerVerbosity.Diagnostic, sc.Write, null, null); 1807var cl = new ParallelConsoleLogger(LoggerVerbosity.Diagnostic, sc.Write, null, null); 1828SerialConsoleLogger cl = new SerialConsoleLogger(LoggerVerbosity.Diagnostic, sc.Write, null, null); 1833ParallelConsoleLogger cl2 = new ParallelConsoleLogger(LoggerVerbosity.Diagnostic, sc.Write, null, null); 1864SerialConsoleLogger cl = new SerialConsoleLogger(LoggerVerbosity.Diagnostic, sc.Write, null, null); 1871ParallelConsoleLogger cl2 = new ParallelConsoleLogger(LoggerVerbosity.Diagnostic, sc.Write, null, null); 1893ParallelConsoleLogger cl2 = new ParallelConsoleLogger(LoggerVerbosity.Diagnostic, sc.Write, null, null);
Evaluation\Evaluator_Tests.cs (2)
5022logger.Verbosity = LoggerVerbosity.Diagnostic; 5062Verbosity = LoggerVerbosity.Diagnostic,
FileLogger_Tests.cs (3)
143LoggerVerbosity.Diagnostic, LoggerVerbosity.Diagnostic}; 393[InlineData(LoggerVerbosity.Diagnostic, true)]
Microsoft.Build.Framework (1)
Logging\LoggerParametersHelper.cs (1)
44verbosity = LoggerVerbosity.Diagnostic;
Microsoft.Build.Utilities.UnitTests (12)
Logger_Tests.cs (12)
40EmptyLogger logger = new EmptyLogger(LoggerVerbosity.Diagnostic); 43Assert.Equal(LoggerVerbosity.Diagnostic, logger.Verbosity); 56new EmptyLogger(LoggerVerbosity.Quiet).IsVerbosityAtLeast(LoggerVerbosity.Diagnostic).ShouldBeFalse(); 62new EmptyLogger(LoggerVerbosity.Minimal).IsVerbosityAtLeast(LoggerVerbosity.Diagnostic).ShouldBeFalse(); 68new EmptyLogger(LoggerVerbosity.Normal).IsVerbosityAtLeast(LoggerVerbosity.Diagnostic).ShouldBeFalse(); 74new EmptyLogger(LoggerVerbosity.Detailed).IsVerbosityAtLeast(LoggerVerbosity.Diagnostic).ShouldBeFalse(); 76new EmptyLogger(LoggerVerbosity.Diagnostic).IsVerbosityAtLeast(LoggerVerbosity.Quiet).ShouldBeTrue(); 77new EmptyLogger(LoggerVerbosity.Diagnostic).IsVerbosityAtLeast(LoggerVerbosity.Minimal).ShouldBeTrue(); 78new EmptyLogger(LoggerVerbosity.Diagnostic).IsVerbosityAtLeast(LoggerVerbosity.Normal).ShouldBeTrue(); 79new EmptyLogger(LoggerVerbosity.Diagnostic).IsVerbosityAtLeast(LoggerVerbosity.Detailed).ShouldBeTrue(); 80new EmptyLogger(LoggerVerbosity.Diagnostic).IsVerbosityAtLeast(LoggerVerbosity.Diagnostic).ShouldBeTrue();
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Build\ProjectBuildManager.cs (1)
199LogTaskInputs = _msbuildLogger is not null && _msbuildLogger.Verbosity == LoggerVerbosity.Diagnostic
Microsoft.DotNet.ArcadeLogging (3)
PipelinesLogger.cs (3)
65if (Verbosity == LoggerVerbosity.Diagnostic) 260if (Verbosity == LoggerVerbosity.Diagnostic) 271if(Verbosity != LoggerVerbosity.Diagnostic)
MSBuild (6)
XMake.cs (6)
1350bool logTaskInputs = verbosity == LoggerVerbosity.Diagnostic || isBuildCheckEnabled; 2766verbosity = LoggerVerbosity.Diagnostic; 2773else if (verbosity == LoggerVerbosity.Diagnostic) 2778if (originalVerbosity == LoggerVerbosity.Diagnostic) 3957verbosity = LoggerVerbosity.Diagnostic; 4215verbosity = LoggerVerbosity.Diagnostic;