NAME

Log::ger::Output::FileWriteRotate - Log to File::Write::Rotate

VERSION

This document describes version 0.001 of Log::ger::Output::FileWriteRotate (from Perl distribution Log-ger-Output-FileWriteRotate), released on 2017-06-24.

SYNOPSIS

use Log::ger::Output FileWriteRotate => (
    dir          => '/var/log',    # required
    prefix       => 'myapp',       # required
    #suffix      => '.log',        # default is ''
    size         => 25*1024*1024,  # default is 10MB, unless period is set
    histories    => 12,            # default is 10
    #buffer_size => 100,           # default is none
);

DESCRIPTION

This output sends logs to File::Write::Rotate object.

CONFIGURATION

These configuration parameters are File::Write::Rotate's.

dir

prefix

suffix

size

histories

buffer_size

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Log-ger-Output-FileWriteRotate.

SOURCE

Source repository is at https://github.com/perlancar/perl-Log-ger-Output-FileWriteRotate.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Log-ger-Output-FileWriteRotate

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

File::Write::Rotate

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

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.