Pierre-Lannoy / wp-decalog

Capture and log events, metrics and traces on your site. Make WordPress observable - finally!
https://perfops.one/
GNU General Public License v3.0
64 stars 9 forks source link

Add a decalog_error_level_map filter #61

Closed challet closed 6 months ago

challet commented 7 months ago

Hello,

Following a discussion started here, I've achieved to map the php E_DEPRECATED level to the logger DEBUG level. It is done by adding a filter to customize the levels mapping, so without a filter it remains the same as before.

Pierre-Lannoy commented 6 months ago

Hello @challet ! Thank you so much for this suggestion. It will be included in next release (3.11.0).