jorge-matricali/jtrace
Composer 安装命令:
composer require jorge-matricali/jtrace
包简介
Prints PHP exceptions in a Java style
README 文档
README
jTrace PHP
Prints PHP exceptions in a Java style :)
Installation
You can add this library as a dependency to your project using Composer:
composer require jorge-matricali/jtrace
If you only need this library during development, then you should install using:
composer require --dev jorge-matricali/jtrace
Usage
use JorgeMatricali\JTrace; try { // ... } catch (Exception $e) { echo JTrace::print($e); }
The code above yields the output below:
Phalcon\Mvc\Dispatcher\Exception: IndexController handler class cannot be loaded at Phalcon.Mvc.Dispatcher._throwDispatchException(index.php:93) at Phalcon.Dispatcher._dispatch(Unknown Source) at Phalcon.Dispatcher.dispatch(Unknown Source) at Phalcon.Mvc.Application.handle(Unknown Source) ... 1 more
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-05-22