Log::ger::Output::DirWriteRotate - Log to Dir::Write::Rotate
This document describes version 0.001 of Log::ger::Output::DirWriteRotate (from Perl distribution Log-ger-Output-DirWriteRotate), released on 2017-06-24.
use Log::ger::Output DirWriteRotate => ( name => 'somedir.log', # required filename_pattern => '%Y-%m-%d-%H%M%S.pid-%{pid}.%{ext}', # optional filename_sub => sub { ... }, # optional max_size => undef, # optional max_files => undef, # optional max_age => undef, # optional rotate_probability => 0.25, # optional );
This output sends logs to Dir::Write::Rotate object.
These configuration parameters are Dir::Write::Rotate's.
Please visit the project's homepage at https://metacpan.org/release/Log-ger-Output-DirWriteRotate.
Source repository is at https://github.com/perlancar/perl-Log-ger-Output-DirWriteRotate.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Log-ger-Output-DirWriteRotate
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
Dir::Write::Rotate
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::DirWriteRotate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::ger::Output::DirWriteRotate
CPAN shell
perl -MCPAN -e shell install Log::ger::Output::DirWriteRotate
For more information on module installation, please visit the detailed CPAN module installation guide.