4 instantiations of AggregateLogger
Microsoft.CodeAnalysis.Workspaces (4)
Log\AggregateLogger.cs (4)
39return new AggregateLogger(set.ToImmutableArray()); 65return new AggregateLogger(ImmutableArray.Create(newLogger, oldLogger)); 84return new AggregateLogger(set.ToImmutableArray()); 108return new AggregateLogger(set.ToImmutableArray());
16 references to AggregateLogger
Microsoft.CodeAnalysis.Remote.ServiceHub (3)
Services\ProcessTelemetry\RemoteProcessTelemetryService.cs (2)
105RoslynLogger.SetLogger(AggregateLogger.AddOrReplace(creator(), RoslynLogger.GetLogger(), l => l is T)); 109RoslynLogger.SetLogger(AggregateLogger.Remove(RoslynLogger.GetLogger(), l => l is T));
Services\ProcessTelemetry\RemoteWorkspaceTelemetryService.cs (1)
25=> AggregateLogger.Create(
Microsoft.CodeAnalysis.Workspaces (6)
Log\AggregateLogger.cs (6)
23public static AggregateLogger Create(params ILogger[] loggers) 30if (logger is AggregateLogger aggregateLogger) 54var aggregateLogger = oldLogger as AggregateLogger; 89var aggregateLogger = logger as AggregateLogger;
Microsoft.VisualStudio.LanguageServices (3)
RoslynActivityLogger.cs (2)
37Logger.SetLogger(AggregateLogger.AddOrReplace(new TraceSourceLogger(traceSource), Logger.GetLogger(), l => (l as TraceSourceLogger)?.TraceSource == traceSource)); 48Logger.SetLogger(AggregateLogger.Remove(Logger.GetLogger(), l => (l as TraceSourceLogger)?.TraceSource == traceSource));
Telemetry\VisualStudioWorkspaceTelemetryService.cs (1)
39=> AggregateLogger.Create(
Microsoft.VisualStudio.LanguageServices.New.IntegrationTests (1)
InProcess\EditorVerifierInProcess.cs (1)
202using var loggerRestorer = WithLogger(AggregateLogger.AddOrReplace(codeActionLogger, Logger.GetLogger(), logger => logger is CodeActionLogger));
Roslyn.VisualStudio.DiagnosticsWindow (3)
OptionPages\PerformanceLoggersPage.cs (2)
101Logger.SetLogger(AggregateLogger.AddOrReplace(creator(), Logger.GetLogger(), l => l is T)); 105Logger.SetLogger(AggregateLogger.Remove(Logger.GetLogger(), l => l is T));
PerfMargin\PerfMarginPanel.cs (1)
34Logger.SetLogger(AggregateLogger.AddOrReplace(s_logger, Logger.GetLogger(), l => l is PerfEventActivityLogger));