You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'%o' is not documented. Or even better would be to not to pass arguments to util.inspect directly, but pass them through own formatter depending on type of argument, if it is an Object or Array then format using formatter.o:
debug('myObj=', myObj); // doesn't work because '%o' is not documented
debug('myObj=%o', myObj); // works because '%o' is now documented and people knows about it
The text was updated successfully, but these errors were encountered:
'%o' is not documented. Or even better would be to not to pass arguments to
util.inspect
directly, but pass them through own formatter depending on type of argument, if it is an Object or Array then format usingformatter.o
:The text was updated successfully, but these errors were encountered: