[logback-dev] svn commit: r845 - in logback/trunk/logback-classic/src: main/java/ch/qos/logback/classic/turbo test/java/ch/qos/logback/classic test/java/ch/qos/logback/classic/filter test/java/ch/qos/logback/classic/turbo
noreply.seb at qos.ch
noreply.seb at qos.ch
Wed Nov 1 15:12:10 CET 2006
Author: seb
Date: Wed Nov 1 15:12:10 2006
New Revision: 845
Added:
logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/turbo/
logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/turbo/NOPTurboFilter.java
- copied unchanged from r844, /logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/filter/NOPTurboFilter.java
Removed:
logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/filter/NOPTurboFilter.java
Modified:
logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/turbo/TurboFilter.java
logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/LoggerPerfTest.java
Log:
moved NOPTurboFilter.java to the turbo package
Modified: logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/turbo/TurboFilter.java
==============================================================================
--- logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/turbo/TurboFilter.java (original)
+++ logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/turbo/TurboFilter.java Wed Nov 1 15:12:10 2006
@@ -9,7 +9,7 @@
import ch.qos.logback.core.spi.LifeCycle;
/**
- * ClassicFilter is a specialized filter with a decide method that takes a bunch of parameters
+ * TurboFilter is a specialized filter with a decide method that takes a bunch of parameters
* instead of a single event object. The latter is cleaner but the latter is much more
* performant.
*
Modified: logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/LoggerPerfTest.java
==============================================================================
--- logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/LoggerPerfTest.java (original)
+++ logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/LoggerPerfTest.java Wed Nov 1 15:12:10 2006
@@ -70,7 +70,7 @@
NOPTurboFilter nopFilter = new NOPTurboFilter();
nopFilter.setName("nop");
mopAppender.start();
- lc.addFilter(nopFilter);
+ lc.addTurboFilter(nopFilter);
Logger logger = lc.getLogger(this.getClass());
logger.setLevel(Level.OFF);
long start = System.nanoTime();
More information about the logback-dev
mailing list