-
Notifications
You must be signed in to change notification settings - Fork 21
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
Refine the Logger/Issue API #582
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PR #521 has gone a long way to get our original
Error
class replaced with theIssue
class. However, I feel that it inherited an API that is is not the most convenient to use (as originally discussed here). Indeed, to create a full-fledged warning (from aLogger
-based class), we need to do something like:while I would find it much easier/cleaner if we could simply do something like:
In other words, I would change the
Issue
class to have the following new API:and our
Logger
class to have the following new API:The text was updated successfully, but these errors were encountered: