Task #6591

Refactor F3\FLOW3\Log\Backend\FileBackend : getFormattedVarDump

Added by Lukas Lentner over 5 years ago. Updated over 3 years ago.

Status:Rejected Start date:
Priority:Should have Due date:
Assigned To:- % Done:

50%

Category:Log
Target version:-
Sprint: Has patch:No
PHP Version: Complexity:

Description

Hi,

I did (my first) refactoring with this function.

Now:
  • Smaller
  • 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!

A Question:
Why this limitation with the 100 spaces?

6591.diff Magnifier (2.6 kB) Lukas Lentner, 2010-02-24 18:52

History

#1 Updated by Lukas Lentner over 5 years ago

Here the diff

#2 Updated by Robert Lemke over 5 years ago

  • % Done changed from 100 to 50

#3 Updated by Robert Lemke about 5 years ago

  • Status changed from New to Needs Feedback

#4 Updated by Karsten Dambekalns almost 5 years ago

  • Status changed from Needs Feedback to On Hold
  • Start date deleted (2010-02-24)

You need to sign the CLA before we can accept your contribution, see http://typo3.org/about/licenses

#5 Updated by Lukas Lentner over 4 years ago

I did

#6 Updated by Christian Müller over 3 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.

Also available in: Atom PDF