ajaxy/logger
Composer 安装命令:
composer require ajaxy/logger
包简介
Ajaxy Logger
README 文档
README
Ajaxy - PSR-3 Dynamic Logging for PHP
This library implements the PSR-3
Installation
Install the latest version with
$ composer require ajaxy/logger
Basic Usage
<?php use Ajaxy\Logger\Logger; use Ajaxy\Logger\Handler\Stream; // create a log channel $log = new Logger(); $log->pushHandler(new Stream('path/to/dir/', Logger::WARNING)); // dynamic logging $log->debug('Foo'); $log->error('Bar'); // this will save the logging to anything.log $log->{anything}('Bar');
About
Requirements
- Ajaxy\Logger works with PHP 5.6 or above.
Submitting bugs and feature requests
Bugs and feature request are tracked on GitHub
Author
Naji Amer - icu090@gmail.com - http://ajaxy.org
License
Ajaxy\Logger is licensed under the MIT License - see the LICENSE file for details
统计信息
- 总下载量: 63
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-01-23