bobbingwide / oik-bwtrace

debug trace for WordPress
https://www.oik-plugins.com/oik-plugins/oik-bwtrace-debug-trace-for-wordpress/
GNU General Public License v2.0
6 stars 1 forks source link

Only trace $errcontext when tracing with BW_TRACE_VERBOSE #5

Closed bobbingwide closed 9 years ago

bobbingwide commented 9 years ago

When 'Trace Error, Warning and Notice messages' is selected and you come across an error such as Warning: get_class() expects parameter 1 to be object, string given in... then there is a chance that the volume of data printed for the $errcontext field is excessive.

If would be better if this information is only produced when tracing at a verbose level; a level even more detailed than BW_TRACE_DEBUG.

Solution

bobbingwide commented 9 years ago

Fixed in v2.0.6 https://github.com/bobbingwide/oik-bwtrace/commit/eba14e04e69ac285a456d143c69c03fd70b88f79