1Log::ger::Filter(3)   User Contributed Perl Documentation  Log::ger::Filter(3)
2
3
4

NAME

6       Log::ger::Filter - Use a filter plugin
7

VERSION

9       version 0.038
10

SYNOPSIS

12       To set globally:
13
14        use Log::ger::Filter;
15        Log::ger::Filter->set('Code', code => sub{ ... });
16
17       or:
18
19        use Log::ger::Filter 'Code', (code => sub { ... });
20
21       To set for current package only:
22
23        use Log::ger::Filter;
24        Log::ger::Filter->set_for_current_package('Code', code => sub { ... });
25

SEE ALSO

27       Log::ger::Output
28
29       Log::ger::Plugin
30
31       Log::ger::Format
32
33       Log::ger::Layout
34

AUTHOR

36       perlancar <perlancar@cpan.org>
37
39       This software is copyright (c) 2021, 2020, 2019, 2018, 2017 by
40       perlancar@cpan.org.
41
42       This is free software; you can redistribute it and/or modify it under
43       the same terms as the Perl 5 programming language system itself.
44
45
46
47perl v5.32.1                      2021-01-31               Log::ger::Filter(3)
Impressum