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

chore(mason_logger): v0.1.3 #521

Merged
merged 1 commit into from Sep 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 13 additions & 0 deletions packages/mason_logger/CHANGELOG.md
@@ -1,3 +1,16 @@
# 0.1.3

- feat: add `link` API

```dart
final logger = Logger();
final repoLink = link(
message: 'GitHub Repository',
uri: Uri.parse('https://github.com/felangel/mason'),
);
logger.info('To learn more, visit the $repoLink.');
```

# 0.1.2

- feat: render milliseconds on progress duration
Expand Down
7 changes: 7 additions & 0 deletions packages/mason_logger/README.md
Expand Up @@ -61,5 +61,12 @@ Future<void> main() async {
logger
..info('Your favorite animal is a $favoriteAnimal!')
..alert(likesCats ? 'You are a cat person!' : 'You are not a cat person.');

// Show hyperlinks using the link API.
final repoLink = link(
message: 'GitHub Repository',
uri: Uri.parse('https://github.com/felangel/mason'),
);
logger.info('To learn more, visit the $repoLink.');
}
```
2 changes: 1 addition & 1 deletion packages/mason_logger/pubspec.yaml
@@ -1,6 +1,6 @@
name: mason_logger
description: A reusable Dart logger used by the Mason CLI (package:mason_cli).
version: 0.1.2
version: 0.1.3
homepage: https://github.com/felangel/mason

environment:
Expand Down