protected DiagnosticListenerObserver(ILoggerFactory loggerFactory, ITracer tracer, GenericEventOptions options) : base(loggerFactory, tracer) { if (!options.IsIgnored(GetListenerName())) { _genericEventProcessor = new GenericEventProcessor(GetListenerName(), Tracer, Logger, options); } }
protected DiagnosticEventObserver(ILoggerFactory loggerFactory, ITracer tracer, DiagnosticOptions options) : base(loggerFactory, tracer) { _options = options; if (options.LogEvents) { _genericEventProcessor = new GenericEventProcessor(GetListenerName(), Tracer, Logger); } }
protected DiagnosticListenerObserver(ILoggerFactory loggerFactory, ITracer tracer) : base(loggerFactory, tracer) { _genericEventProcessor = new GenericEventProcessor(GetListenerName(), Tracer, Logger); }