ivol/monolog-cli-processor
Composer 安装命令:
composer require ivol/monolog-cli-processor
包简介
Allows to log console command
README 文档
README
Cli processor allows to log console command in Monolog.
Installation
Add library to your Composer project:
composer require ivol/monolog-cli-processor
Usage
<php>
// Autoload here
use Monolog\Logger;
use ivol\Monolog\Processor\CliProcessor;
$handlers = []; // Add handlers
$logger = new Logger('Logger_Name', $handlers, [new CliProcessor()]);
</php>
After that all log records in cli mode will be updated with extra cli arg.
License
exec-wrapper is released under the MIT License.
统计信息
- 总下载量: 680
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-01-27