When one of the log args is a circular object, it throws an error. Fix: use try/catch on JSON.stringify 