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 prior‐
16       ity matching a predefined range.  The "LevelMin" and "LevelMax" parame‐
17       ters define the levels (choose from "DEBUG", "INFO", "WARN", "ERROR",
18       "FATAL") marking the window of allowed messages priorities.  The addi‐
19       tional parameter "AcceptOnMatch" defines if the filter is supposed to
20       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

AUTHOR

27       Mike Schilli, <log4perl@perlmeister.com>, 2003
28
29
30
31perl v5.8.8                       2002-07-10             Filter::LevelRange(3)
Impressum