Skip to content

minor request on logging classes #32270

Closed
@jimmywarting

Description

@jimmywarting

When logging object, functions and classes you sometimes see function and classes being printed the same way as such:

Skärmavbild 2020-03-14 kl  21 28 43

I wish they where a bit more distinguish if it is a function or a class so you know if you have to call the "function" class with the new keyword and expect something back
kinda like chrome's devtool:

Skärmavbild 2020-03-14 kl  21 32 30

with the prefixed class and f in the beginning

maybe with an other color (same as the number color - orange) or like my atom editor:
Skärmavbild 2020-03-14 kl  21 38 41

it's not so much about styling, (the above are just some suggestions)
the request feature is just more about distinguish classes from functions in the terminal

(don't mind as much if this is being discarded and closed since it's not so important to me - just wishful)

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.utilIssues and PRs related to the built-in util module.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions