1Filter::LevelRange(3) User Contributed Perl DocumentationFilter::LevelRange(3)
2
3
4

NAME

6       Log::Log4perl::Filter::LevelRange - Filter for a range of log levels
7

SYNOPSIS

9           log4perl.filter.Match1               = Log::Log4perl::Filter::LevelRange
10           log4perl.filter.Match1.LevelMin      = INFO
11           log4perl.filter.Match1.LevelMax      = ERROR
12           log4perl.filter.Match1.AcceptOnMatch = true
13

DESCRIPTION

15       This Log4perl custom filter checks if the current message has a
16       priority matching a predefined range.  The "LevelMin" and "LevelMax"
17       parameters define the levels (choose from "DEBUG", "INFO", "WARN",
18       "ERROR", "FATAL") marking the window of allowed messages priorities.
19       The additional parameter "AcceptOnMatch" defines if the filter is
20       supposed to pass or block the message ("true" or "false").
21

SEE ALSO

23       Log::Log4perl::Filter, Log::Log4perl::Filter::LevelMatch,
24       Log::Log4perl::Filter::StringRange, Log::Log4perl::Filter::Boolean
25
27       Copyright 2002-2009 by Mike Schilli <m@perlmeister.com> and Kevin Goess
28       <cpan@goess.org>.
29
30       This library is free software; you can redistribute it and/or modify it
31       under the same terms as Perl itself.
32
33
34
35perl v5.12.2                      2010-08-31             Filter::LevelRange(3)
Impressum