The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Sysadmin::Log::Simple::UDP - a UDP-logger for App::Sysadmin::Log::Simple

VERSION

version 0.009

DESCRIPTION

This provides a log method that sends text over a UDP socket, optionally with IRC colour codes applied. This can be used to centralize logging on a single machine, or echo log entries to an IRC channel.

METHODS

new

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

udp

A hashref containing keys:

host - default: localhost
port - default: 9002

user

The user to attribute the log entry to

irc

Whether to apply IRC colour codes or not.

log

This creates a socket, and sends the log entry out, optionally applying IRC colour codes to it.

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.