示例#1
0
 public TracingDiagnosticObserver(ITracingDiagnosticProcessor tracingDiagnosticProcessor)
 {
     _methodCollection = new TracingDiagnosticMethodCollection(tracingDiagnosticProcessor);
 }
示例#2
0
 public TracingDiagnosticObserver(ITracingDiagnosticProcessor tracingDiagnosticProcessor,
                                  ILoggerFactory loggerFactory)
 {
     _methodCollection = new TracingDiagnosticMethodCollection(tracingDiagnosticProcessor);
     _logger           = loggerFactory.CreateLogger(typeof(TracingDiagnosticObserver));
 }