* Always add a dummy object at the end to prevent the single-array-param issue * Use `JSON.stringify` on parameters only when the current log level means the message will be printed.