cakephp-sentry:一个 CakePHP 插件,用于将错误异常日志发送到 Sentry (getsentry.com) https

时间:2021-06-09 01:03:02
【文件属性】:
文件名称:cakephp-sentry:一个 CakePHP 插件,用于将错误异常日志发送到 Sentry (getsentry.com) https
文件大小:4KB
文件格式:ZIP
更新时间:2021-06-09 01:03:02
PHP CakePHP-Sentry 一个 CakePHP 插件,用于将错误/异常/日志发送到 Sentry (getsentry.com) 安装 将文件克隆到app/Plugin/Sentry (记住还要获取 PHP Raven 子模块 - gitsubmodule init然后git submodule update ) 通过调用CakePlugin::load('Sentry');在app/Config/bootstrap.php加载插件CakePlugin::load('Sentry'); 在app/Config/core.php中将插件设置为错误/异常处理app/Config/core.php App :: uses ( 'SentryErrorHandler' , 'Sentry.Lib' ); Configure :: write ( 'Error' , array (
【文件预览】:
cakephp-sentry-master
----Lib()
--------SentryErrorHandler.php(4KB)
----LICENSE(1KB)
----.gitmodules(98B)
----Vendor()
--------raven()
----README.md(2KB)

网友评论