You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by gr...@apache.org on 2009/08/30 13:58:59 UTC

svn commit: r809319 - /incubator/log4php/trunk/src/site/apt/docs/appender-filter.apt

Author: grobmeier
Date: Sun Aug 30 11:58:59 2009
New Revision: 809319

URL: http://svn.apache.org/viewvc?rev=809319&view=rev
Log:
added examples

Modified:
    incubator/log4php/trunk/src/site/apt/docs/appender-filter.apt

Modified: incubator/log4php/trunk/src/site/apt/docs/appender-filter.apt
URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/site/apt/docs/appender-filter.apt?rev=809319&r1=809318&r2=809319&view=diff
==============================================================================
--- incubator/log4php/trunk/src/site/apt/docs/appender-filter.apt (original)
+++ incubator/log4php/trunk/src/site/apt/docs/appender-filter.apt Sun Aug 30 11:58:59 2009
@@ -61,17 +61,64 @@
 
 ** LoggerFilterDenyAll
   
-  TODO
+  This filters simply denies all logging events.
   
 ** LoggerFilterLevelMatch
   
-  TODO
+  This filter accepts the specified logger level or denys it.
+  
+*-------------------*-----------------------------------------------------*
+ LevelToMatch		| The level to match
+*-------------------*-----------------------------------------------------*
+ AcceptOnMatch		| If true, the matching log level is accepted, denied otherwise
+*-------------------*-----------------------------------------------------*
+
+  Example:
+  
++--
+<filter class="LoggerFilterLevelMatch">
+	<param name="LevelToMatch" value="debug" />
+	<param name="AcceptOnMatch" value="true" />
+</filter>
++--
  
 ** LoggerFilterLevelRange
   
-  TODO
+  
+  This filter logs if the LoggerLevel is within the specified range.
+  
+*-------------------*-----------------------------------------------------*
+ LevelMin			| The minimum level to log
+*-------------------*-----------------------------------------------------*
+ LevelMax			| The maximum level to log
+*-------------------*-----------------------------------------------------*
+
+  Example:
+  
++--
+<filter class="LoggerFilterLevelRange">
+	<param name="LevelMin" value="debug" />
+	<param name="LevelMax" value="debug" />
+</filter>
++--
+ 
   
 ** LoggerFilterStringMatch
+   
+  Logs or denies, if the specified string matches (with the strpos function).
+   
+*-------------------*-----------------------------------------------------*
+ StringToMatch		| The string to match
+*-------------------*-----------------------------------------------------*
+ AcceptOnMatch		| If true, the matching is logged, denied otherwise
+*-------------------*-----------------------------------------------------*
+
+  Example:
   
-  TODO
++--
+<filter class="LoggerFilterStringMatch">
+	<param name="StringToMatch" value="matchingstring" />
+	<param name="AcceptOnMatch" value="true" />
+</filter>
++--