NAME

Log::ger::Format - Use a format plugin

VERSION

version 0.042

SYNOPSIS

To set for current package only:

use Log::ger::Format 'Block';

or:

use Log::ger::Format;
Log::ger::Format->set_for_current_package('Block');

To set globally:

use Log::ger::Format;
Log::ger::Format->set('Block');

DESCRIPTION

Note: Since format plugins affect log-producing code, the import syntax defaults to setting for current package instead of globally.

SEE ALSO

Log::ger::Layout

Log::ger::Output

Log::ger::Plugin

Log::ger::Filter

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.