App-Sysadmin-Log-Simple
view release on metacpan or search on metacpan
lib/App/Sysadmin/Log/Simple/UDP.pm view on Meta::CPAN
=head1 NAME
App::Sysadmin::Log::Simple::UDP - a UDP-logger for App::Sysadmin::Log::Simple
=head1 VERSION
version 0.009
=head1 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.
=head1 METHODS
=head2 new
This creates a new App::Sysadmin::Log::Simple::UDP object. It takes a hash
of options:
=head3 udp
A hashref containing keys:
=over 4
=item host - default: localhost
=item port - default: 9002
=back
=head3 user
The user to attribute the log entry to
=head3 irc
Whether to apply IRC colour codes or not.
=head2 log
This creates a socket, and sends the log entry out, optionally applying IRC
colour codes to it.
=head1 AVAILABILITY
The project homepage is L<http://p3rl.org/App::Sysadmin::Log::Simple>.
The latest version of this module is available from the Comprehensive Perl
Archive Network (CPAN). Visit L<http://www.perl.com/CPAN/> to find a CPAN
site near you, or see L<https://metacpan.org/module/App::Sysadmin::Log::Simple/>.
=head1 SOURCE
The development version is on github at L<http://github.com/doherty/App-Sysadmin-Log-Simple>
and may be cloned from L<git://github.com/doherty/App-Sysadmin-Log-Simple.git>
=head1 BUGS AND LIMITATIONS
You can make new bug reports, and view existing ones, through the
web interface at L<https://github.com/doherty/App-Sysadmin-Log-Simple/issues>.
=head1 AUTHOR
Mike Doherty <doherty@cpan.org>
=head1 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.
=cut
( run in 1.908 second using v1.01-cache-2.11-cpan-97f6503c9c8 )