[logback-dev] svn commit: r837 - logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/filter
noreply.ceki at qos.ch
noreply.ceki at qos.ch
Tue Oct 31 22:43:12 CET 2006
Author: ceki
Date: Tue Oct 31 22:43:12 2006
New Revision: 837
Added:
logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/filter/NOPClassicFilter.java
Log:
ongoing work
Added: logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/filter/NOPClassicFilter.java
==============================================================================
--- (empty file)
+++ logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/filter/NOPClassicFilter.java Tue Oct 31 22:43:12 2006
@@ -0,0 +1,19 @@
+package ch.qos.logback.classic.turbo;
+
+import org.slf4j.Marker;
+
+import ch.qos.logback.classic.Level;
+import ch.qos.logback.classic.Logger;
+import ch.qos.logback.classic.turbo.ClassicFilter;
+import ch.qos.logback.core.filter.Filter;
+
+public class NOPClassicFilter extends ClassicFilter {
+
+ @Override
+ public int decide(final Marker marker, final Logger logger, final Level level, final String format,
+ final Object[] params, final Throwable t) {
+
+ return Filter.NEUTRAL;
+ }
+
+}
More information about the logback-dev
mailing list