branch, master, updated. 2f865c2f17e2444e562781b250950d29e3f429f8

The branch, master has been updated via 2f865c2f17e2444e562781b250950d29e3f429f8 (commit) from d6158815139bdc475619c07ce2a1e21185942343 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://git.qos.ch/gitweb/?p=logback.git;a=commit;h=2f865c2f17e2444e562781b25... http://github.com/ceki/logback/commit/2f865c2f17e2444e562781b250950d29e3f429... commit 2f865c2f17e2444e562781b250950d29e3f429f8 Author: Ceki Gulcu <ceki@qos.ch> Date: Tue Nov 10 18:44:10 2009 +0100 minor edit diff --git a/logback-site/src/site/pages/manual/filters.html b/logback-site/src/site/pages/manual/filters.html index 7ab56f7..3b61138 100644 --- a/logback-site/src/site/pages/manual/filters.html +++ b/logback-site/src/site/pages/manual/filters.html @@ -488,16 +488,15 @@ java chapter6.FilterEvents src/main/java/chapter6/basicConfiguration.xml <h2><a name="matcher" href="#matcher">Matchers</a></h2> - <p>While it is possible to do pattern matching operations by - invoking the <a + <p>While it is possible to do pattern matching by invoking the <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html#matches%28java.lang.String%29">matches()</a> method in the <code>String</code> class, this incurs the cost of - the creation by compilation of a new Pattern object each time the + compiling of a brand new <code>Pattern</code> object each time the filter is invoked. To eliminate this overhead, you can predefine one or more <a href="../xref/ch/qos/logback/core/boolex/Matcher.html">Matcher</a> - objects. Once a matcher is defined, it can be repeatedly referenced - by name in the evaluator expression.</p> + objects. Once a matcher is defined, it can be repeatedly + referenced by name in the evaluator expression.</p> <p>An example should clarify the point:</p> @@ -539,6 +538,13 @@ java chapter6.FilterEvents src/main/java/chapter6/basicConfiguration.xml 223 [main] INFO chapter6.FilterEvents - logging statement 4 225 [main] INFO chapter6.FilterEvents - logging statement 8</p> + <p>In case you need to define additional matchers, you can do so by + adding further <code><matcher></code> elements. + + <!-- ================================================================ --> + <!-- ===================== TURBO FILTER ============================= --> + <!-- ================================================================ --> + <h2><a name="TurboFilter" href="#TurboFilter">TurboFilters</a></h2> <p><code>TurboFilter</code> objects all extend the ----------------------------------------------------------------------- Summary of changes: logback-site/src/site/pages/manual/filters.html | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) hooks/post-receive -- Logback: the generic, reliable, fast and flexible logging framework.
participants (1)
-
git-noreply@pixie.qos.ch