The problem seems to be human.js#L68 where you check for string [object Object] while the string coming from toString() is like [object Object],[object Object],....
Using util.inspect works fine, and is my current workaround ( I defined a custom formatter with only that line changed ). There is some specific reason why has not been used util.inspect? There is some other way in which I can resolve this issue ( apart from stringifing the content before loggin in)?
I've found a wrong behaviour when logging arrays.
I'm logging an object like this:
Using the
human
formatter the object is printed this way:The problem seems to be human.js#L68 where you check for string
[object Object]
while the string coming fromtoString()
is like[object Object],[object Object],...
.Using
util.inspect
works fine, and is my current workaround ( I defined a custom formatter with only that line changed ). There is some specific reason why has not been usedutil.inspect
? There is some other way in which I can resolve this issue ( apart from stringifing the content before loggin in)?Thank you for this library and you support :)