Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid expanded values on MessagesCollector #601

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

PaolaRuby
Copy link
Contributor

When isHtmlVarDumperUsed() is false, we have this
image
But, when isHtmlVarDumperUsed() is true, all data is expanded by default
image
With this change, it is easier to find the log we are looking for, by the file, line, etc
image
Also as an independent method it is possible to make other customizations based on $message data, just by extending the class

@PaolaRuby
Copy link
Contributor Author

Also, in te past was 'expanded_depth' => 0, , but seems that it is not working anymore


Now, there is 'maxDepth' => 1 // 1 and 160 are the default values for these options, but 0 is not allowed
https://symfony.com/doc/current/components/var_dumper.html#dumpers

@barryvdh barryvdh merged commit cbab4a8 into maximebf:master Feb 16, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants