public static final boolean isLoggingBehaviorEnabled(LoggingBehavior behavior){
synchronized (loggingBehaviors) {
    return Settings.isDebugEnabled() && loggingBehaviors.contains(behavior);
  }
}

public static final boolean isLoggingBehaviorEnabled ( LoggingBehavior behavior ) { synchronized ( loggingBehaviors ) { return Settings . isDebugEnabled ( ) && loggingBehaviors . contains ( behavior ) ; } }
certain logging behaviors are available for debugging beyond those that should be enabled in production . checks if a particular extended logging behavior is enabled .
