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.4 #540

Merged
merged 1 commit into from Oct 13, 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
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