2 Star 0 Fork 0

mirrors_gitpan / MooseX-Log-Syslog-Fast

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

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.

空文件

简介

MooseX::Log::Syslog::Fast - A Logging role for Moose on Log::Syslog::Fast 展开 收起
Perl
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Perl
1
https://gitee.com/mirrors_gitpan/MooseX-Log-Syslog-Fast.git
git@gitee.com:mirrors_gitpan/MooseX-Log-Syslog-Fast.git
mirrors_gitpan
MooseX-Log-Syslog-Fast
MooseX-Log-Syslog-Fast
master

搜索帮助