Skip to content

Commit

Permalink
chore(mason_logger): v0.1.3 (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel committed Sep 16, 2022
1 parent 38a525b commit 03106c5
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
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

0 comments on commit 03106c5

Please sign in to comment.