Skip to content

Add logging #110

Open
Open

Description

@seddonym

In particular with a view to allowing Import Linter to verbosely output logging depending on the verbose flag.

Activity

  1. self-assigned this
    on May 13, 2023
  2. seddonym commented on May 14, 2023

    @seddonym
    CollaboratorAuthor

    Probably the best way to achieve this is to just use Python's logging module, with certain log levels in mind. Import Linter can then capture and output the appropriate log level depending on the verbosity.

    I think the best approach is to use INFO to correspond to output that Import Linter will display during verbose mode. That gives us the lower-level DEBUG mode to potentially use if Import Linter is run in debug mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions