Refactor F3\FLOW3\Log\Backend\FileBackend : getFormattedVarDump
I did (my first) refactoring with this function.Now:
- Less control structures,
- Logic outlines the similarities of an array and an object (to nest) -> I think easier to understand and more consistent
The 'big' change is in fact that I add afterwards the keys of the array/names of the properties. Before we looked after every possibility extra!
Why this limitation with the 100 spaces?
Updated by Christian Müller almost 9 years ago
- Status changed from On Hold to Rejected
- Has patch set to No
In the meantime the method has changed quite a lot and the limit IMHO makes sense otherwise the output will totally break out. It would probably make sense to log smaller chunks of data if you hit this limit. Reopen if you have a good use-case to change the limit.