=head1 NAME
Role::Log::Syslog::Fast - A Logging role for Moose on Log::Syslog::Fast.
=head1 SYNOPSIS
{
package ExampleLog;
use Moose;
with 'Role::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;
=head1 DESCRIPTION
A logging role building a very lightweight wrapper to L<Log::Syslog::Fast> for use with L<Moose> classes.
=head1 SEE ALSO
L<Log::Syslog::Fast>, L<Log::Syslog>, L<Moose>
=head1 BUGS AND LIMITATIONS
Please report any bugs or feature requests to
[email protected], or through the web interface at
http://rt.cpan.org.
Or come bother us in #moose on irc.perl.org.
=head1 AUTHOR
Thiago Rondon <
[email protected]>
=head1 LICENSE AND COPYRIGHT
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
=cut
1;