1 type derived from ConsoleLogger
Microsoft.Build (1)
Logging\FileLogger.cs (1)
28
public class FileLogger :
ConsoleLogger
54 instantiations of ConsoleLogger
Microsoft.Build.Engine.UnitTests (50)
BackEnd\BuildManager_Tests.cs (3)
3128
ConsoleLogger cl = new
ConsoleLogger
();
3206
var cl = new
ConsoleLogger
();
3291
var cl = new
ConsoleLogger
();
BackEnd\LoggingService_Tests.cs (9)
269
ConsoleLogger consoleLogger = new
ConsoleLogger
();
292
ConsoleLogger consoleLogger = new
ConsoleLogger
();
660
loggingService.RegisterLogger(new
ConsoleLogger
(LoggerVerbosity.Normal));
1016
_initializedService.RegisterLogger(new
ConsoleLogger
(LoggerVerbosity.Quiet));
1018
_initializedService.RegisterLogger(new
ConsoleLogger
(LoggerVerbosity.Minimal));
1020
_initializedService.RegisterLogger(new
ConsoleLogger
(LoggerVerbosity.Normal));
1022
_initializedService.RegisterLogger(new
ConsoleLogger
(LoggerVerbosity.Detailed));
1024
_initializedService.RegisterLogger(new
ConsoleLogger
(LoggerVerbosity.Diagnostic));
1072
_initializedService.RegisterLogger(new
ConsoleLogger
(LoggerVerbosity.Normal));
ConsoleLogger_Tests.cs (38)
181
ConsoleLogger logger = new
ConsoleLogger
(LoggerVerbosity.Normal, sc.Write, null, null);
213
ConsoleLogger logger = new
ConsoleLogger
(LoggerVerbosity.Minimal, sc.Write, null, null);
253
ConsoleLogger logger = new
ConsoleLogger
(LoggerVerbosity.Minimal, sc.Write, null, null);
305
ConsoleLogger logger = new
ConsoleLogger
(LoggerVerbosity.Minimal, sc.Write, null, null);
326
ConsoleLogger logger = new
ConsoleLogger
(LoggerVerbosity.Diagnostic, sc.Write, null, null);
351
ConsoleLogger logger = new
ConsoleLogger
(LoggerVerbosity.Minimal, sc.Write, null, null);
368
ConsoleLogger logger = new
ConsoleLogger
(LoggerVerbosity.Normal, sc.Write, null, null);
375
logger = new
ConsoleLogger
(LoggerVerbosity.Detailed, sc.Write, null, null);
414
ConsoleLogger logger = new
ConsoleLogger
(LoggerVerbosity.Normal, sc.Write, null, null);
421
logger = new
ConsoleLogger
(LoggerVerbosity.Normal, sc.Write, null, null);
428
logger = new
ConsoleLogger
(LoggerVerbosity.Normal, sc.Write, null, null);
435
logger = new
ConsoleLogger
(LoggerVerbosity.Normal, sc.Write, null, null);
442
logger = new
ConsoleLogger
(LoggerVerbosity.Normal, sc.Write, null, null);
457
ConsoleLogger L = new
ConsoleLogger
(LoggerVerbosity.Diagnostic,
486
ConsoleLogger L = new
ConsoleLogger
(LoggerVerbosity.Diagnostic,
605
ConsoleLogger logger = new
ConsoleLogger
(loggerVerbosity, console.Write, null, null);
684
ConsoleLogger logger = new
ConsoleLogger
(LoggerVerbosity.Diagnostic, console.Write, console.SetColor, console.ResetColor);
716
ConsoleLogger L = new
ConsoleLogger
(LoggerVerbosity.Quiet,
770
ConsoleLogger L = new
ConsoleLogger
(LoggerVerbosity.Quiet,
846
ConsoleLogger L = new
ConsoleLogger
(LoggerVerbosity.Quiet,
922
ConsoleLogger L = new
ConsoleLogger
(LoggerVerbosity.Minimal,
979
ConsoleLogger L = new
ConsoleLogger
(LoggerVerbosity.Minimal,
1054
ConsoleLogger L = new
ConsoleLogger
(LoggerVerbosity.Quiet,
1130
ConsoleLogger L = new
ConsoleLogger
(LoggerVerbosity.Quiet,
1253
ConsoleLogger L = new
ConsoleLogger
(LoggerVerbosity.Minimal,
1293
ConsoleLogger L = new
ConsoleLogger
(LoggerVerbosity.Normal,
1370
ConsoleLogger L = new
ConsoleLogger
(LoggerVerbosity.Detailed,
1387
ConsoleLogger L = new
ConsoleLogger
(LoggerVerbosity.Diagnostic,
1404
ConsoleLogger L = new
ConsoleLogger
(LoggerVerbosity.Normal,
1948
ConsoleLogger L = new
ConsoleLogger
(LoggerVerbosity.Normal,
2038
ConsoleLogger L = new
ConsoleLogger
(LoggerVerbosity.Normal,
2121
ConsoleLogger L = new
ConsoleLogger
(LoggerVerbosity.Normal, sc.Write, sc.SetColor, sc.ResetColor);
2246
ConsoleLogger L = new
ConsoleLogger
(LoggerVerbosity.Detailed, sc.Write, sc.SetColor, sc.ResetColor);
2260
L = new
ConsoleLogger
(LoggerVerbosity.Normal, sc.Write, sc.SetColor, sc.ResetColor);
2274
L = new
ConsoleLogger
(LoggerVerbosity.Normal, sc.Write, sc.SetColor, sc.ResetColor);
2298
ConsoleLogger L = new
ConsoleLogger
(LoggerVerbosity.Normal, sc.Write, sc.SetColor, sc.ResetColor);
2337
ConsoleLogger L = new
ConsoleLogger
(LoggerVerbosity.Normal, sc.Write, sc.SetColor, sc.ResetColor);
2390
ConsoleLogger L = new
ConsoleLogger
(LoggerVerbosity.Normal, sc.Write, sc.SetColor, sc.ResetColor);
Microsoft.Build.UnitTests.Shared (3)
MockEngine.cs (2)
249
ILogger[] loggers = { MockLogger, new
ConsoleLogger
() };
294
ILogger[] loggers = { MockLogger, new
ConsoleLogger
() };
ObjectModelHelpers.cs (1)
682
return CreateInMemoryProject(xml, new
ConsoleLogger
());
MSBuild (1)
XMake.cs (1)
3977
ConsoleLogger logger = new
ConsoleLogger
(verbosity);
42 references to ConsoleLogger
Microsoft.Build (1)
BackEnd\Components\Logging\LoggingService.cs (1)
1841
Build.Logging.
ConsoleLogger
consoleLogger => consoleLogger.GetMinimumMessageImportance(),
Microsoft.Build.CommandLine.UnitTests (2)
XMake_Tests.cs (2)
2248
loggers[0].ShouldBeOfType<
ConsoleLogger
>();
2264
distributedLogger.CentralLogger.ShouldBeOfType<
ConsoleLogger
>();
Microsoft.Build.Engine.UnitTests (36)
BackEnd\BuildManager_Tests.cs (3)
3128
ConsoleLogger
cl = new ConsoleLogger();
3206
var
cl = new ConsoleLogger();
3291
var
cl = new ConsoleLogger();
BackEnd\LoggingService_Tests.cs (2)
269
ConsoleLogger
consoleLogger = new ConsoleLogger();
292
ConsoleLogger
consoleLogger = new ConsoleLogger();
ConsoleLogger_Tests.cs (31)
181
ConsoleLogger
logger = new ConsoleLogger(LoggerVerbosity.Normal, sc.Write, null, null);
213
ConsoleLogger
logger = new ConsoleLogger(LoggerVerbosity.Minimal, sc.Write, null, null);
253
ConsoleLogger
logger = new ConsoleLogger(LoggerVerbosity.Minimal, sc.Write, null, null);
305
ConsoleLogger
logger = new ConsoleLogger(LoggerVerbosity.Minimal, sc.Write, null, null);
326
ConsoleLogger
logger = new ConsoleLogger(LoggerVerbosity.Diagnostic, sc.Write, null, null);
351
ConsoleLogger
logger = new ConsoleLogger(LoggerVerbosity.Minimal, sc.Write, null, null);
368
ConsoleLogger
logger = new ConsoleLogger(LoggerVerbosity.Normal, sc.Write, null, null);
414
ConsoleLogger
logger = new ConsoleLogger(LoggerVerbosity.Normal, sc.Write, null, null);
457
ConsoleLogger
L = new ConsoleLogger(LoggerVerbosity.Diagnostic,
486
ConsoleLogger
L = new ConsoleLogger(LoggerVerbosity.Diagnostic,
605
ConsoleLogger
logger = new ConsoleLogger(loggerVerbosity, console.Write, null, null);
684
ConsoleLogger
logger = new ConsoleLogger(LoggerVerbosity.Diagnostic, console.Write, console.SetColor, console.ResetColor);
716
ConsoleLogger
L = new ConsoleLogger(LoggerVerbosity.Quiet,
770
ConsoleLogger
L = new ConsoleLogger(LoggerVerbosity.Quiet,
846
ConsoleLogger
L = new ConsoleLogger(LoggerVerbosity.Quiet,
922
ConsoleLogger
L = new ConsoleLogger(LoggerVerbosity.Minimal,
979
ConsoleLogger
L = new ConsoleLogger(LoggerVerbosity.Minimal,
1054
ConsoleLogger
L = new ConsoleLogger(LoggerVerbosity.Quiet,
1130
ConsoleLogger
L = new ConsoleLogger(LoggerVerbosity.Quiet,
1253
ConsoleLogger
L = new ConsoleLogger(LoggerVerbosity.Minimal,
1293
ConsoleLogger
L = new ConsoleLogger(LoggerVerbosity.Normal,
1370
ConsoleLogger
L = new ConsoleLogger(LoggerVerbosity.Detailed,
1387
ConsoleLogger
L = new ConsoleLogger(LoggerVerbosity.Diagnostic,
1404
ConsoleLogger
L = new ConsoleLogger(LoggerVerbosity.Normal,
1948
ConsoleLogger
L = new ConsoleLogger(LoggerVerbosity.Normal,
2038
ConsoleLogger
L = new ConsoleLogger(LoggerVerbosity.Normal,
2121
ConsoleLogger
L = new ConsoleLogger(LoggerVerbosity.Normal, sc.Write, sc.SetColor, sc.ResetColor);
2246
ConsoleLogger
L = new ConsoleLogger(LoggerVerbosity.Detailed, sc.Write, sc.SetColor, sc.ResetColor);
2298
ConsoleLogger
L = new ConsoleLogger(LoggerVerbosity.Normal, sc.Write, sc.SetColor, sc.ResetColor);
2337
ConsoleLogger
L = new ConsoleLogger(LoggerVerbosity.Normal, sc.Write, sc.SetColor, sc.ResetColor);
2390
ConsoleLogger
L = new ConsoleLogger(LoggerVerbosity.Normal, sc.Write, sc.SetColor, sc.ResetColor);
MSBuild (3)
XMake.cs (3)
39
using ConsoleLogger = Microsoft.Build.Logging.
ConsoleLogger
;
1339
Type t2 = typeof(
ConsoleLogger
);
3977
ConsoleLogger
logger = new ConsoleLogger(verbosity);