Fetch the repository succeeded.
MooseX::Log::Syslog::Fast - A Logging role for Moose on Log::Syslog::Fast
{
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;
A logging role building a very lightweight wrapper to Log::Syslog::Fast for use with Moose classes.
Log::Syslog::Fast, Log::Syslog, Moose
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.
Thiago Rondon <thiago@aware.com.br>
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. Open source ecosystem
2. Collaboration, People, Software
3. Evaluation model