Sorry for my English. Feedback is welcome. With 'what precise' i mean: what exactly?
If i summarize the conversation so far:
- dbg() and dbglog() is not accurate enough, so an improved output format is proposed, based at var_export()
- output of dbg() and dbglog() need to depend on admin/non-admin.
- In the patch in doku.php some printing from a buffer is included too. This can be already solved by using dbglog() to print to log isn't?
Current debug methods:
https://www.dokuwiki.org/devel:debugging
More opinions about this?