nella/tracy-debug-info

该软件包已被废弃,不再维护。未建议替代包。

Tracy 蓝屏面板用于 Exception::__debugInfo

安装: 46

依赖项: 1

建议者: 0

安全: 0

星星: 0

关注者: 1

分支: 1

开放问题: 0

语言:HTML

v1.0.0 2015-11-29 03:05 UTC

This package is auto-updated.

Last update: 2020-12-06 16:21:57 UTC


README

Build Status Code Coverage SensioLabsInsight Status Latest Stable Version Composer Downloads Dependency Status HHVM Status

原始蓝屏

Original BlueScreen

更好的(带有面板)蓝屏

Better BlueScreen

要求

  • Tracy >=2.3.0(2.3.x支持将于2017年1月31日移除)
  • PHP >=5.5.0(5.5.x支持将于2016年7月10日移除)

安装

composer require nella/tracy-debug-info

使用

\Nella\Tracy\DebugInfoPanel::register(\Tracy\Debugger::getBlueScreen());

您的异常必须实现 Nella\Tracy\DebugInfoException 接口。存在一个辅助特质 Nella\Tracy\DebugInfoExceptionTrait,其中实现了 __debugInfo 方法。

class YourException extends \Exception implements \Nella\Tracy\DebugInfoException
{

	use \Nella\Tracy\DebugInfoExceptionTrait;

}

许可

Tracy 蓝屏面板用于 Exception::__debugInfo 的许可证为 MIT 许可证 - 请参阅 LICENSE 文件以获取详细信息