NAME

App::Sysadmin::Log::Simple::HTTP - a HTTP (maybe RESTful?) logger for App::Sysadmin::Log::Simple

VERSION

version 0.009

DESCRIPTION

This provides a log method that sends the log via a HTTP request. Which may perhaps be considered to be a 'REST' request. Put, Get and Post are will work. Though you might not be shown to be sane for doing so.

METHODS

new

This creates a new App::Sysadmin::Log::Simple::HTTP object. It takes a hash of options:

http

A hashref containing keys:

uri - default: http://localhost
method - default: post

user

The user to attribute the log entry to (not http user)

log

This connects to the remote server and sends the log entry out.

AVAILABILITY

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/.

SOURCE

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

BUGS AND LIMITATIONS

You can make new bug reports, and view existing ones, through the web interface at https://github.com/doherty/App-Sysadmin-Log-Simple/issues.

AUTHOR

Mike Doherty <doherty@cpan.org>

COPYRIGHT AND LICENSE

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.