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.core.sift;
public abstract class SiftingJoranConfiguratorBase<E> extends
      + "#1andOnly1";
  protected void addImplicitRules(Interpreter interpreter) {
    NestedComplexPropertyIA nestedComplexIA = new NestedComplexPropertyIA();
    nestedComplexIA.setContext();
    interpreter.addImplicitAction(nestedComplexIA);
    NestedBasicPropertyIA nestedSimpleIA = new NestedBasicPropertyIA();
    nestedSimpleIA.setContext();
    interpreter.addImplicitAction(nestedSimpleIA);
  }
  abstract public Appender<E> getAppender();
  int errorEmmissionCount = 0;
  protected void oneAndOnlyOneCheck(Map appenderMap) {
    String errMsg = null;
    if (appenderMap.size() == 0) {
      ++;
      errMsg = "No nested appenders found within the <sift> element in SiftingAppender.";
    } else if (appenderMap.size() > 1) {
      ++;
      errMsg = "Only and only one appender can be nested the <sift> element in SiftingAppender. See also "
          + ;
    }
    if (errMsg != null &&  < .) {
      addError(errMsg);
    }
  }
  public void doConfigure(final List<SaxEventeventListthrows JoranException {
    super.doConfigure(eventList);
  }
New to GrepCode? Check out our FAQ X