Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Logback: the reliable, generic, fast and flexible logging framework. Copyright (C) 1999-2011, QOS.ch. All rights reserved. This program and the accompanying materials are dual-licensed under either the terms of the Eclipse Public License v1.0 as published by the Eclipse Foundation or (per the licensee's choosing) under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation.
package ch.qos.logback.classic.turbo;
TurboFilter is a specialized filter with a decide method that takes a bunch of parameters instead of a single event object. The latter is cleaner but the latter is much more performant.

For more information about turbo filters, please refer to the online manual at http://logback.qos.ch/manual/filters.html#TurboFilter

Author(s):
Ceki Gulcu
public abstract class TurboFilter extends ContextAwareBase implements LifeCycle {
  private String name;
  boolean start = false;  
 
 
  
Make a decision based on the multiple parameters passed as arguments. The returned value should be one of ch.qos.logback.core.spi.FilterReply.DENY, ch.qos.logback.core.spi.FilterReply.NEUTRAL, or ch.qos.logback.core.spi.FilterReply.ACCEPT.

Parameters:
marker
logger
level
format
params
t
Returns:
  public abstract FilterReply decide(Marker markerLogger logger,
      Level levelString formatObject[] paramsThrowable t);
  public void start() {
    this. = true;
  }
  
  public boolean isStarted() {
    return this.;
  }
 
  public void stop() {
    this. = false;
  }
  public String getName() {
    return ;
  }
  public void setName(String name) {
    this. = name;
  }
New to GrepCode? Check out our FAQ X