Skip to content

%o is not documented in Readme.md #302

@rafis

Description

@rafis

'%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

No one assigned

    Labels

    has-prThis issue has an accompanying pull request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions