NAME

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

VERSION

version 0.038

SYNOPSIS

To set globally:

 use Log::ger::Filter;
 Log::ger::Filter->set('Code', code => sub{ ... });

or:

 use Log::ger::Filter 'Code', (code => sub { ... });

To set for current package only:

 use Log::ger::Filter;
 Log::ger::Filter->set_for_current_package('Code', code => sub { ... });

SEE ALSO

Log::ger::Output

Log::ger::Plugin

Log::ger::Format

Log::ger::Layout

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2021, 2020, 2019, 2018, 2017 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.