NAME
MooseX::Log::Syslog::Fast - A Logging role for Moose on Log::Syslog::Fast
SYNOPSIS
{
package ExampleLog;
use FindBin qw($Bin);
use lib "$Bin/lib";
use Moose;
with 'MooseX::Log::Syslog::Fast';
sub BUILD {
my $self = shift;
$self->_hostname('/var/run/syslog');
$self->_name('Example');
}
sub test {
my $self = shift;
$self->log('foo');
}
}
my $obj = new ExampleLog;
$obj->test;
DESCRIPTION
A logging role building a very lightweight wrapper to Log::Syslog::Fast for use with Moose classes.
SEE ALSO
Log::Syslog::Fast, Log::Syslog, Moose
BUGS AND LIMITATIONS
Please report any bugs or feature requests to bug-moosex-log-syslog-fast@rt.cpan.org, or through the web interface at http://rt.cpan.org.
Or come bother us in #moose on irc.perl.org.
AUTHOR
Thiago Rondon <thiago@aware.com.br>
LICENSE AND COPYRIGHT
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.