App::Sysadmin::Log::Simple::File - a file-logger for App::Sysadmin::Log::Simple
This provides methods to App::Sysadmin::Log::Simple for logging to a file, and viewing those log files.
This creates a new App::Sysadmin::Log::Simple::File object. It takes a hash of options with keys:
This specifies the top of the tree of log files. Default is /var/log/sysadmin. Please note that unprivileged users are typically not permitted to create the default log directory.
This is a string to place at the top of the index page.
This is a string to prepend when viewing the log files.
This is a DateTime object for when the log entry was made or for specifying which date's log file to view, depending on the mode of operation.
This creates a new log file if needed, adds the log entry to it, and re-generates the index file as necessary.
The project homepage is http://p3rl.org/App::Sysadmin::Log::Simple.
The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see https://metacpan.org/module/App::Sysadmin::Log::Simple/.
The development version is on github at http://github.com/doherty/App-Sysadmin-Log-Simple and may be cloned from git://github.com/doherty/App-Sysadmin-Log-Simple.git
You can make new bug reports, and view existing ones, through the web interface at https://github.com/doherty/App-Sysadmin-Log-Simple/issues.
Mike Doherty <firstname.lastname@example.org>
This software is copyright (c) 2011 by Mike Doherty.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.