Skip to content

Commit

Permalink
chore(mason_logger): v0.1.4 (#540)
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel committed Oct 13, 2022
1 parent 43eae9f commit 0184b2b
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
25 changes: 25 additions & 0 deletions packages/mason_logger/CHANGELOG.md
@@ -1,3 +1,28 @@
# 0.1.4

- feat: add `ProgressOptions` API

```dart
import 'package:mason_logger/mason_logger.dart';
Future<void> main() async {
// 1. ✨ Create a custom ProgressOptions.
const progressOptions = ProgressOptions(
animation: ProgressAnimation(
frames: ['🌑', '🌒', '🌓', '🌔', '🌕', '🌖', '🌗', '🌘'],
),
);
// 2. 💉 Inject `progressOptions` into your Logger.
final logger = Logger(progressOptions: progressOptions);
// 3. 🤤 Admire your custom progress animation.
final progress = logger.progress('Calculating');
await Future.delayed(const Duration(seconds: 3));
progress.complete('Done!');
}
```

# 0.1.3

- feat: add `link` API
Expand Down
2 changes: 1 addition & 1 deletion packages/mason_logger/LICENSE
@@ -1,5 +1,5 @@
The MIT License (MIT)
Copyright (c) 2020 Felix Angelov
Copyright (c) 2022 Felix Angelov

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand Down
5 changes: 4 additions & 1 deletion packages/mason_logger/pubspec.yaml
@@ -1,7 +1,10 @@
name: mason_logger
description: A reusable Dart logger used by the Mason CLI (package:mason_cli).
version: 0.1.3
version: 0.1.4
homepage: https://github.com/felangel/mason
repository: https://github.com/felangel/mason
issue_tracker: https://github.com/felangel/mason/issues
documentation: https://github.com/felangel/mason/tree/master/packages/mason_logger#readme

environment:
sdk: ">=2.16.0 <3.0.0"
Expand Down

0 comments on commit 0184b2b

Please sign in to comment.