Skip to content

Use debug (or something) instead of console.log to have more control over logging #17

Description

@briangreenery

Using a logging module like debug makes it easier to control when logging messages show up and can add a timestamp to the log messages. This is nice for running tests (since there's not a lot of log output unless you want there to be) and for writing logs to a file (because you can see when things happen).

Maybe you're already using another logging solution and this isn't useful though. I'm not sure what it's like when it's running for reals.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions