Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logging #110

Open
seddonym opened this issue May 13, 2023 · 1 comment
Open

Add logging #110

seddonym opened this issue May 13, 2023 · 1 comment
Assignees

Comments

@seddonym
Copy link
Owner

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

@seddonym
Copy link
Owner Author

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
Projects
None yet
Development

No branches or pull requests

1 participant