Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Cleanup #2

Merged
merged 4 commits into from
Feb 15, 2019
Merged

Cleanup #2

merged 4 commits into from
Feb 15, 2019

Conversation

grouma
Copy link
Contributor

@grouma grouma commented Feb 15, 2019

  • Add example folder
  • Add copyrights
  • Add changelog
  • Use logger
  • Update a few comments

Closes: dart-lang/tools#1633

@grouma grouma requested a review from jakemac53 February 15, 2019 20:07
@@ -0,0 +1 @@
The test folder provides a very basic usage example.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure this is really worth having? but 🤷‍♂️

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a proper example.

} catch (_) {
// Ignore any error
} catch (e) {
_logger.warning('Unable to encode outgoing message: $e');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this won't actually log anything anywhere by default... not necessarily an issue in itself but it might be worth documenting somewhere that you have to set up a log handler to see logs?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a corresponding doc comment.

@grouma grouma merged commit 5e7b304 into master Feb 15, 2019
@grouma grouma deleted the cleanup branch February 15, 2019 21:50
mosuem pushed a commit to dart-lang/tools that referenced this pull request Dec 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

add a changelog
2 participants