1Filter::LevelRange(3) User Contributed Perl DocumentationFilter::LevelRange(3)
2
3
4
6 Log::Log4perl::Filter::LevelRange - Filter for a range of log levels
7
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
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
20 "LevelMin" defaults to "DEBUG", and "LevelMax" to "FATAL".
21
22 The additional parameter "AcceptOnMatch" defines if the filter is
23 supposed to pass or block the message ("true" or "false").
24
26 Log::Log4perl::Filter, Log::Log4perl::Filter::Boolean,
27 Log::Log4perl::Filter::LevelMatch, Log::Log4perl::Filter::MDC,
28 Log::Log4perl::Filter::StringMatch
29
31 Copyright 2002-2013 by Mike Schilli <m@perlmeister.com> and Kevin Goess
32 <cpan@goess.org>.
33
34 This library is free software; you can redistribute it and/or modify it
35 under the same terms as Perl itself.
36
38 Please contribute patches to the project on Github:
39
40 http://github.com/mschilli/log4perl
41
42 Send bug reports or requests for enhancements to the authors via our
43
44 MAILING LIST (questions, bug reports, suggestions/patches):
45 log4perl-devel@lists.sourceforge.net
46
47 Authors (please contact them via the list above, not directly): Mike
48 Schilli <m@perlmeister.com>, Kevin Goess <cpan@goess.org>
49
50 Contributors (in alphabetical order): Ateeq Altaf, Cory Bennett, Jens
51 Berthold, Jeremy Bopp, Hutton Davidson, Chris R. Donnelly, Matisse
52 Enzer, Hugh Esco, Anthony Foiani, James FitzGibbon, Carl Franks, Dennis
53 Gregorovic, Andy Grundman, Paul Harrington, Alexander Hartmaier David
54 Hull, Robert Jacobson, Jason Kohles, Jeff Macdonald, Markus Peter,
55 Brett Rann, Peter Rabbitson, Erik Selberg, Aaron Straup Cope, Lars
56 Thegler, David Viner, Mac Yang.
57
58
59
60perl v5.36.0 2022-10-24 Filter::LevelRange(3)