This repository was archived by the owner on Oct 26, 2018. It is now read-only.
This repository was archived by the owner on Oct 26, 2018. It is now read-only.
Support new DiagnosticSource.IsEnabled(string, object, object) API #61
Closed
Description
There were couple of API recently introduced in dotnet/corefx#15984 and dotnet/corefx#15985:
DiagnosticSource.IsEnabled(string, object,object)
DiagnosticListener.Subscribe(IObserver<KeyValuePair<string, object>> observer, Func<string, object, object, bool> isEnabled)
DiagnosticListenerExtensions.SubscribeWithAdapter
and DiagnosticSourceAdapter
constructors should provide an overloads to subscribe with Func<string, object, object, bool>