When logging, var_export creates many new lines, which makes parsing logs difficult, especially if you are logging to a file, e.g. using syslog. Let’s use json encoding instead. This also has the added benefit of being more compact.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | use-json-encode-rather-than-var-export-for-logging-3382701-2.patch | 1.01 KB | tomtech |
Comments
Comment #2
tomtech commentedComment #4
tomtech commented