Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Migrate CLI output to Logger #495

Closed
Closed
@victorb

Description

@victorb

With the new files APIs, I've started on a logger that has many benefits compared to the current approach of using console.log for output.

  • Intent is clear, console.log is often used to debugging, may not be clear it's actual output from CLI
  • Easier to turn on/off if we want to add a --quiet flag that only outputs some things
  • Abstract away the logging from the CLI itself
  • Easier to build things that continues on the same line, commands that takes time to execute.

I don't think this is a urgent refactor we have to do right now, but maybe we can start thinking about it a little, and write new code with the logger, rather than migrating everything at once.

Metadata

Metadata

Assignees

No one assigned

    Labels

    exp/noviceSomeone with a little familiarity can pick uphelp wantedSeeking public contribution on this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions