Jonathan Swartz > Log-Any-Adapter-0.10 > Log::Any::Adapter::File

Download:
Log-Any-Adapter-0.10.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  5
View/Report Bugs
Module Version: 0.10   Source   Latest Release: Log-Any-Adapter-0.11

NAME ^

Log::Any::Adapter::File - Simple adapter for logging to files

VERSION ^

version 0.10

SYNOPSIS ^

    use Log::Any::Adapter ('File', '/path/to/file.log');

    # or

    use Log::Any::Adapter;
    ...
    Log::Any::Adapter->set('File', '/path/to/file.log');

DESCRIPTION ^

This simple built-in Log::Any adapter logs each message to the specified file, with a datestamp prefix and newline appended. The file is opened for append with autoflush on. Category and log level are ignored.

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2011 by Jonathan Swartz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: