Use json encode rather than var_export when logging

Created on 22 August 2023, about 1 year ago

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.

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States moxojo

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024