thulin82/clog
Composer 安装命令:
composer require thulin82/clog
包简介
PHP classes for logging framework
README 文档
README
Using CLog in Anax-MVC
First update your composer.json with the following:
"require": {
"thulin82/clog": "dev-master"
},
Then update with:
composer update
To add CLog, the easiest way is either add it as a shared service:
$this->setShared('log', function () { $log = new \thulin82\CLog\CLog(); return $log; });
or to initialize it when/where you need it:
$log = new \thulin82\CLog\CLog();
Examples
An example file is located in webroot/CLogExample.php to show off the different ways you can use CLog
Docker
Build
docker build -t clog .
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-09-29