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