NAME
Log::ger::Filter - Use a filter plugin
VERSION
version 0.042
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
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2023, 2022, 2020, 2019, 2018, 2017 by perlancar <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.