-
Notifications
You must be signed in to change notification settings - Fork 50
Logger onLevelChanged
notification
#138
Conversation
@jakemac53 - any concerns about this API? |
Co-authored-by: Nate Bosch <nbosch1@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the good suggestions! I pushed the code review changes.
Looks like the pubspec version also needs to be updated to match the changelog 👍 |
We can publish soon, once this rolls internally and we confirm there are no issues (which I can't imagine there would be, but we have a policy to do that). |
This is published now as version 1.2.0 @desistefanova |
Beware adding things to types that are implemented! dart-lang/build#3514 |
This type really isn't intended to be implemented... obviously it was but I am not sure what this package could do about that. We don't want to change our versioning strategy I don't think just because of one breakage (this is still overall much less pain than doing breaking changes every time we add something). Really, build_runner_core should have had a tight constraint on this package if it was going to implement this class, so that is my bad. |
Is it worth enforcing that? We could bump versions and add |
We would need to see if we can migrate off implementing it in build_runner_core first |
I'm sure w can move to |
Yeah good point, sgtm |
Ah, I was wrong 😞 , |
Ah yeah that is probably why we implemented it |
Notify when the log level is changed. Logger `onLevelChanged` broadcasts a stream of level values. Fixes dart-lang/logging#139
Notify when the log level is changed.
Logger
onLevelChanged
broadcasts a stream of level values.Fixes dart-lang/core#479
Contribution guidelines:
dart format
.Many Dart repos have a weekly cadence for reviewing PRs - please allow for a week or two of latency for initial review feedback.