Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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

Author

       perlancar <perlancar@cpan.org>

Description

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

Name

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

See Also

       Log::ger::Layout

       Log::ger::Output

       Log::ger::Plugin

       Log::ger::Filter

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');

Version

       version 0.042

See Also