NAME
Log::ger::Output::DirWriteRotate - Log to Dir::Write::Rotate
VERSION
This document describes version 0.004 of Log::ger::Output::DirWriteRotate (from Perl distribution Log-ger-Output-DirWriteRotate), released on 2020-03-11.
SYNOPSIS
path
=>
'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
);
DESCRIPTION
This output sends logs to Dir::Write::Rotate object.
CONFIGURATION
These configuration parameters are Dir::Write::Rotate's.
path
filename_pattern
filename_sub
max_size
max_files
max_age
rotate_probability
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/Log-ger-Output-DirWriteRotate.
SOURCE
Source repository is at https://github.com/perlancar/perl-Log-ger-Output-DirWriteRotate.
BUGS
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.
SEE ALSO
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2020, 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.