最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

php - Mute Debug Messages from Plugins

programmeradmin3浏览0评论

I have an older plugin installed that is firing all these PHP Deprecated and PHP Notices in my debug.log every time a page loads. Is it possible to mute PHP Deprecated and PHP Notices but ONLY for files in my plugins directory? I value a clean debug.log as it helps with making sure my code is error-free during development, but this kind of stuff makes it all messy.


More Details: I don't want to turn off all PHP notices because I like to have those to make sure my own code isn't creating any notices.

This plugin is something my client wants that is not worth the time to fix/replace/build from scratch, so I'd prefer to keep it.

发布评论

评论列表(0)

  1. 暂无评论