Log::ger::Output::Callback - Send logs to a subroutine
This document describes version 0.001 of Log::ger::Output::Callback (from Perl distribution Log-ger-Output-Callback), released on 2017-07-03.
use Log::ger::Output Callback => ( logging_cb => sub { my ($ctx, $msg) = @_; ... }, # optional detection_cb => sub { my ($lvl) = @_; ... }, # optional );
Please visit the project's homepage at https://metacpan.org/release/Log-ger-Output-Callback.
Source repository is at https://github.com/perlancar/perl-Log-ger-Output-Callback.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Log-ger-Output-Callback
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.
Log::ger
Modelled after Log::Any::Adapter::Callback
perlancar <perlancar@cpan.org>
This software is copyright (c) 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.
To install Log::ger::Output::Callback, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::ger::Output::Callback
CPAN shell
perl -MCPAN -e shell install Log::ger::Output::Callback
For more information on module installation, please visit the detailed CPAN module installation guide.