Currently, if the object being logged is an Error and the type is "pretty" then the message resulting from formatErrorMessage() doesn't stringify any objects that are attributes of the Error. You just get [object Object].
How can I overwrite formatErrorMessage() to control what the resulting string looks like?