claretnnamocha/php-logger
Composer 安装命令:
composer require claretnnamocha/php-logger
包简介
A simple PHP logger used to ouput data to server terminal
README 文档
README
A simple PHP logger used to ouput data to server terminal inspired by the console module in javascript
Features
- Colored output depending on the type of output (debug= default color, info= lightgreen foreground and lightgray background)
- Highlighting reserved return values eg(true, false and null) with the color blue
Examples
Debug
use Alpha\Console\Console; Console::log('Hello World!');
Output
Info
use Alpha\Console\Console; Console::info('Some informative message!');
Output
Error
use Alpha\Console\Console; Console::error(new Exception());
Output
统计信息
- 总下载量: 112
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-11-01


