9 references to ShouldTrace
Microsoft.Extensions.Logging.TraceSource (1)
TraceSourceLogger.cs (1)
65
return _traceSource.Switch.
ShouldTrace
(traceEventType);
System.Diagnostics.TraceSource (6)
System\Diagnostics\TraceSource.cs (6)
194
if (_internalSwitch!.
ShouldTrace
(eventType) && _listeners != null)
239
if (_internalSwitch!.
ShouldTrace
(eventType) && _listeners != null)
284
if (_internalSwitch!.
ShouldTrace
(eventType) && _listeners != null)
329
if (_internalSwitch!.
ShouldTrace
(eventType) && _listeners != null)
374
if (_internalSwitch!.
ShouldTrace
(eventType) && _listeners != null)
436
if (_internalSwitch!.
ShouldTrace
(TraceEventType.Transfer) && _listeners != null)
System.Security.Cryptography.Xml (2)
System\Security\Cryptography\Xml\SignedXmlDebugLog.cs (2)
167
s_informationLogging = s_traceSource.Switch.
ShouldTrace
(TraceEventType.Information);
184
s_verboseLogging = s_traceSource.Switch.
ShouldTrace
(TraceEventType.Verbose);