duanbeng6709 2014-12-01 13:33
浏览 110

如何将raven-php与log4php一起用于登录哨兵

I have an existing PHP project using log4php, and I'm looking for some sort of LoggerAppenderSentry as suggested in this issue, to log messages to sentry using the log4php logger object.

Unfortunately, the existing appenders do not seem to support sentry yet.

Alternatively, if no existing solutions exist in the wild, I would love some guidelines / tutorial / blog entry as to how to write a custom appender for log4php.

  • 写回答

1条回答 默认 最新

  • dsaaqdz6223 2014-12-07 18:01
    关注

    The author of mentioned issue, Valdemar Jordan, has been so kind to publish his appender in a fork of log4php on github.

    I confirmed this solution to work properly, for more info, see the appender source and my pull request for more usage details.

    评论

报告相同问题?

悬赏问题

  • ¥15 HLs设计手写数字识别程序编译通不过
  • ¥15 Stata外部命令安装问题求帮助!
  • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
  • ¥15 TYPCE母转母,插入认方向
  • ¥15 如何用python向钉钉机器人发送可以放大的图片?
  • ¥15 matlab(相关搜索:紧聚焦)
  • ¥15 基于51单片机的厨房煤气泄露检测报警系统设计
  • ¥15 路易威登官网 里边的参数逆向
  • ¥15 Arduino无法同时连接多个hx711模块,如何解决?
  • ¥50 需求一个up主付费课程