Examples of FilterReply


Examples of ch.qos.logback.core.spi.FilterReply

  private void filterAndLog_2(final String localFQCN,
      final Marker marker, final Level level, final String msg,
      final Object param1, final Object param2, final Throwable t) {

    final FilterReply decision = loggerContext.getTurboFilterChainDecision_2(
        marker, this, level, msg, param1, param2, t);

    if (decision == FilterReply.NEUTRAL) {
      if (effectiveLevelInt > level.levelInt) {
        return;
View Full Code Here

Examples of ch.qos.logback.core.spi.FilterReply

  public boolean isDebugEnabled() {
    return isDebugEnabled(null);
  }

  public boolean isDebugEnabled(Marker marker) {
    final FilterReply decision = callTurboFilters(marker, Level.DEBUG);
    if (decision == FilterReply.NEUTRAL) {
      return effectiveLevelInt <= Level.DEBUG_INT;
    } else if (decision == FilterReply.DENY) {
      return false;
    } else if (decision == FilterReply.ACCEPT) {
View Full Code Here

Examples of ch.qos.logback.core.spi.FilterReply

  public boolean isInfoEnabled() {
    return isInfoEnabled(null);
  }

  public boolean isInfoEnabled(Marker marker) {
    FilterReply decision = callTurboFilters(marker, Level.INFO);
    if (decision == FilterReply.NEUTRAL) {
      return effectiveLevelInt <= Level.INFO_INT;
    } else if (decision == FilterReply.DENY) {
      return false;
    } else if (decision == FilterReply.ACCEPT) {
View Full Code Here

Examples of ch.qos.logback.core.spi.FilterReply

  public boolean isTraceEnabled() {
    return isTraceEnabled(null);
  }

  public boolean isTraceEnabled(Marker marker) {
    final FilterReply decision = callTurboFilters(marker, Level.TRACE);
    if (decision == FilterReply.NEUTRAL) {
      return effectiveLevelInt <= Level.TRACE_INT;
    } else if (decision == FilterReply.DENY) {
      return false;
    } else if (decision == FilterReply.ACCEPT) {
View Full Code Here

Examples of ch.qos.logback.core.spi.FilterReply

  public boolean isErrorEnabled() {
    return isErrorEnabled(null);
  }

  public boolean isErrorEnabled(Marker marker) {
    FilterReply decision = callTurboFilters(marker, Level.ERROR);
    if (decision == FilterReply.NEUTRAL) {
      return effectiveLevelInt <= Level.ERROR_INT;
    } else if (decision == FilterReply.DENY) {
      return false;
    } else if (decision == FilterReply.ACCEPT) {
View Full Code Here

Examples of ch.qos.logback.core.spi.FilterReply

  public boolean isWarnEnabled() {
    return isWarnEnabled(null);
  }

  public boolean isWarnEnabled(Marker marker) {
    FilterReply decision = callTurboFilters(marker, Level.WARN);
    if (decision == FilterReply.NEUTRAL) {
      return effectiveLevelInt <= Level.WARN_INT;
    } else if (decision == FilterReply.DENY) {
      return false;
    } else if (decision == FilterReply.ACCEPT) {
View Full Code Here

Examples of ch.qos.logback.core.spi.FilterReply

    }

  }

  public boolean isEnabledFor(Marker marker, Level level) {
    FilterReply decision = callTurboFilters(marker, level);
    if (decision == FilterReply.NEUTRAL) {
      return effectiveLevelInt <= level.levelInt;
    } else if (decision == FilterReply.DENY) {
      return false;
    } else if (decision == FilterReply.ACCEPT) {
View Full Code Here

Examples of ch.qos.logback.core.spi.FilterReply

    Object[] tfa = toArray();
    final int len = tfa.length;
    for (int i = 0; i < len; i++) {
    //for (TurboFilter tf : this) {
      final TurboFilter tf = (TurboFilter) tfa[i];
      final FilterReply r = tf.decide(marker, logger, level, format, params, t);
      if (r == FilterReply.DENY || r == FilterReply.ACCEPT) {
        return r;
      }
    }
    return FilterReply.NEUTRAL;
View Full Code Here

Examples of ch.qos.logback.core.spi.FilterReply

   */

  public final void filterAndLog(final String localFQCN, final Marker marker,
      final Level level, final String msg, final Object param, final Throwable t) {

    final FilterReply decision = loggerContext.getTurboFilterChainDecision(
        marker, this, Level.DEBUG, msg, param, t);

    if (decision == FilterReply.NEUTRAL) {
      if (effectiveLevelInt > level.levelInt) {
        return;
View Full Code Here

Examples of ch.qos.logback.core.spi.FilterReply

  public final void filterAndLog(final String localFQCN, final Marker marker,
      final Level level, final String msg, final Object param1,
      final Object param2, final Throwable t) {

    final FilterReply decision = loggerContext.getTurboFilterChainDecision(
        marker, this, Level.DEBUG, msg, param1, param2, t);

    if (decision == FilterReply.NEUTRAL) {
      if (effectiveLevelInt > level.levelInt) {
        return;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.