Log::Any::Adapter::File - Simple adapter for logging to files
version 0.11
use Log::Any::Adapter ('File', '/path/to/file.log'); # or use Log::Any::Adapter; ... Log::Any::Adapter->set('File', '/path/to/file.log');
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.
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.
To install Log::Any::Adapter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Any::Adapter
CPAN shell
perl -MCPAN -e shell install Log::Any::Adapter
For more information on module installation, please visit the detailed CPAN module installation guide.