unklefedor/yii2_eventpusher

为 Yii2 开发的模块。通过网页界面推送错误事件进行监控。

0.1 2017-05-17 13:15 UTC

This package is not auto-updated.

Last update: 2024-09-25 01:21:35 UTC


README

为 Yii2 开发的模块。通过网页界面推送错误事件进行监控。

  • 在 Config.php 中填写每个网站独特的设置(可以在监控器中生成)

  • 在错误事件的动作中添加推送器

     $pusher = new EventPusher(EventFactory::getExceptionEvent(Yii::$app->errorHandler->exception));
     $pusher->send();