IsTraceEnabledFor method

bool IsTraceEnabledFor(
  1. TraceFlags traceFlag
)
Determines whether tracing is enabled for specified trace flag(s). The trace flags.

Implementation

bool IsTraceEnabledFor(enumerations.TraceFlags traceFlag) {
  return this.TraceEnabled && this.TraceFlags.contains(traceFlag);
}