[logback-dev] svn commit: r1779 - logback/trunk/logback-core/src/main/java/ch/qos/logback/core/pattern

noreply.ceki at qos.ch noreply.ceki at qos.ch
Wed Aug 27 14:08:46 CEST 2008


Author: ceki
Date: Wed Aug 27 14:08:46 2008
New Revision: 1779

Added:
   logback/trunk/logback-core/src/main/java/ch/qos/logback/core/pattern/PostCompileProcessor.java

Log:
LBCLASSIC-67

Missing file

Added: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/pattern/PostCompileProcessor.java
==============================================================================
--- (empty file)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/pattern/PostCompileProcessor.java	Wed Aug 27 14:08:46 2008
@@ -0,0 +1,30 @@
+/**
+ * Logback: the generic, reliable, fast and flexible logging framework.
+ * 
+ * Copyright (C) 2000-2008, QOS.ch
+ * 
+ * This library is free software, you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License as published by the Free
+ * Software Foundation.
+ */
+package ch.qos.logback.core.pattern;
+
+
+/**
+ * Implements this to perform post compile processing for a PatternLayout.
+ * 
+ * For example, PatternLayot in the classic module should add a converter for
+ * exception handling (otherwise exceptions would not be printed).
+ * 
+ * @author Ceki Gulcu
+ */
+public interface PostCompileProcessor<E> {
+
+  /**
+   * Post compile processing of the converter chain.
+   * 
+   * @param head
+   *                The first converter in the chain
+   */
+  void process(Converter<E> head);
+}


More information about the logback-dev mailing list