Ensure logging a non-object/non-string doesn't throw
Actually null/undefined probably are indended to be objects
Merge remote-tracking branch 'mhart/fix-non-obj-logging'