public TracingDiagnosticObserver(ITracingDiagnosticProcessor tracingDiagnosticProcessor) { _methodCollection = new TracingDiagnosticMethodCollection(tracingDiagnosticProcessor); }
public TracingDiagnosticObserver(ITracingDiagnosticProcessor tracingDiagnosticProcessor, ILoggerFactory loggerFactory) { _methodCollection = new TracingDiagnosticMethodCollection(tracingDiagnosticProcessor); _logger = loggerFactory.CreateLogger(typeof(TracingDiagnosticObserver)); }