NAME Log::ger::Output::Callback - Send logs to a subroutine VERSION This document describes version 0.009 of Log::ger::Output::Callback (from Perl distribution Log-ger-Output-Callback), released on 2020-03-11. SYNOPSIS use Log::ger::Output Callback => ( logging_cb => sub { my ($per_target_conf, $lvlnum, $msg, $per_msg_conf) = @_; ... }, # optional detection_cb => sub { my ($lvlnum) = @_; ... }, # optional ); DESCRIPTION This output plugin provides an easy way to do custom logging in Log::ger. If you want to be more proper, you can also create your own output plugin, e.g. Log::ger::Output::Screen or Log::ger::Output::File. To do so, follow the tutorial in Log::ger::Manual::Tutorial::49_WritingAnOutputPlugin or alternatively just peek at the source code of this module. CONFIGURATION logging_cb => code detection_cb => code HOMEPAGE Please visit the project's homepage at . SOURCE Source repository is at . BUGS Please report any bugs or feature requests on the bugtracker website When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. SEE ALSO Log::ger Modelled after Log::Any::Adapter::Callback AUTHOR perlancar COPYRIGHT AND LICENSE This software is copyright (c) 2020, 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.