sentry 是一个
配置sentry
可以在sentry.io注册账号获取配置https://sentry.io/settings/sina-tl/sina/keys/ ,如 http://root:root@127.0.0.1:1234/2
当然也可以自己搭建服务器,参考 https://laravel-china.org/articles/4285/build-your-own-sentry-service
sentry扩展
1 | composer require "sentry/sentry" |
monolog日志写入Redis
1 | composer require "monolog/monolog: 1.18.0" |
消费redis入sentry
1 | use Raven_Client; |
查看错误日志
1 | https://sentry.io/sina-tl/sina/issues/845243592/?query=is%3Aunresolved |