logback-android/src/main/java/ch/qos/logback/classic/Logger.java
private void filterAndLog_0_Or3Plus(final String localFQCN,
      final Marker marker, final Level level, final String msg,
      final Object[] params, final Throwable t) {

    final FilterReply decision = loggerContext
        .getTurboFilterChainDecision_0_3OrMore(marker, this, level, msg,
            params, t);

    if (decision == FilterReply.NEUTRAL) {
      if (effectiveLevelInt > level.levelInt) {
        return;
      }
    } else if (decision == FilterReply.DENY) {
      return;
    }

    buildLoggingEventAndAppend(localFQCN, marker, level, msg, params, t);
  }
private void filterAndLog_0_Or3Plus(final String localFQCN,
      final Marker marker, final Level level, final String msg,
      final Object[] params, final Throwable t) {

    final FilterReply decision = loggerContext
        .getTurboFilterChainDecision_0_3OrMore(marker, this, level, msg,
            params, t);

    if (decision == FilterReply.NEUTRAL) {
      if (effectiveLevelInt > level.levelInt) {
        return;
      }
    } else if (decision == FilterReply.DENY) {
      return;
    }

    buildLoggingEventAndAppend(localFQCN, marker, level, msg, params, t);
  }
private void filterAndLog_0_Or3Plus ( final String localFQCN , final Marker marker , final Level level , final String msg , final Object [ ] params , final Throwable t ) { final FilterReply decision = loggerContext . getTurboFilterChainDecision_0_3OrMore ( marker , this , level , msg , params , t ) ; if ( decision == FilterReply . NEUTRAL ) { if ( effectiveLevelInt > level . levelInt ) { return ; } } else if ( decision == FilterReply . DENY ) { return ; } buildLoggingEventAndAppend ( localFQCN , marker , level , msg , params , t ) ; }
The next methods are not merged into one because of the time we gain by not
creating a new Object[] with the params. This reduces the cost of not
logging by about 20 nanoseconds.
The next methods are not merged into one because of the time we gain by not creating a new Object [] with the params . This reduces the cost of not logging by about 20 nanoseconds .