View Javadoc

1   /**
2    * Logback: the generic, reliable, fast and flexible logging framework.
3    * 
4    * Copyright (C) 2000-2008, QOS.ch
5    * 
6    * This library is free software, you can redistribute it and/or modify it under
7    * the terms of the GNU Lesser General Public License as published by the Free
8    * Software Foundation.
9    */
10  package ch.qos.logback.core.pattern;
11  
12  
13  /**
14   * Implements this to perform post compile processing for a PatternLayout.
15   * 
16   * For example, PatternLayot in the classic module should add a converter for
17   * exception handling (otherwise exceptions would not be printed).
18   * 
19   * @author Ceki Gulcu
20   */
21  public interface PostCompileProcessor<E> {
22  
23    /**
24     * Post compile processing of the converter chain.
25     * 
26     * @param head
27     *                The first converter in the chain
28     */
29    void process(Converter<E> head);
30  }