-
Notifications
You must be signed in to change notification settings - Fork 963
Closed
Labels
has-prThis issue has an accompanying pull requestThis issue has an accompanying pull request
Description
'%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
Metadata
Metadata
Assignees
Labels
has-prThis issue has an accompanying pull requestThis issue has an accompanying pull request