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.sift;
  
    this. = key;
    this. = value;
  }
  
  protected Pattern initialPattern() {
    return new Pattern("configuration");
  }
  
  protected void addInstanceRules(RuleStore rs) {
    rs.addRule(new Pattern("configuration/appender"), new AppenderAction());
  }
      DefaultNestedComponentRegistry registry) {
    DefaultNestedComponentRules.addDefaultNestedComponentRegistryRules(registry);
  }
    
  protected void buildInterpreter() {
    super.buildInterpreter();
    omap.put(.new HashMap());
    omap.put(.new HashMap());
    Map<StringStringpropertiesMap = new HashMap<StringString>();
    propertiesMap.put();
  }
  @SuppressWarnings("unchecked")
    HashMap appenderMap = (HashMapomap.get(.);
    oneAndOnlyOneCheck(appenderMap);
    Collection values = appenderMap.values();
    if(values.size() == 0) {
      return null;
    }
    return (Appender<ILoggingEvent>) values.iterator().next();
  }
New to GrepCode? Check out our FAQ X