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

noreply.seb at qos.ch noreply.seb at qos.ch
Fri Mar 2 15:36:43 CET 2007


Author: seb
Date: Fri Mar  2 15:36:43 2007
New Revision: 1380

Modified:
   logback/trunk/logback-core/src/main/java/ch/qos/logback/core/filter/AbstractMatcherFilter.java

Log:
Added getters for onMatch and onMismatch attributes (used in Console plugin)

Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/filter/AbstractMatcherFilter.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/filter/AbstractMatcherFilter.java	(original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/filter/AbstractMatcherFilter.java	Fri Mar  2 15:36:43 2007
@@ -26,4 +26,12 @@
       onMismatch = FilterReply.DENY;
     }
   }  
+  
+  final public FilterReply getOnMatch() {
+    return onMatch;
+  }
+  
+  final public FilterReply getOnMismatch() {
+    return onMismatch;
+  }
 }



More information about the logback-dev mailing list