SourceHorizon/logger (logger)
### [`v2.4.0`](https://redirect.github.com/SourceHorizon/logger/blob/HEAD/CHANGELOG.md#240)
- Added pub.dev `topics`. Thanks to
[@jonasfj](https://redirect.github.com/jonasfj) ([#74](https://redirect.github.com/SourceHorizon/logger/pull/74)).
- PrettyPrinter: Added `dateTimeFormat` option (backwards-compatible with `printTime`).
Fixes [#80](https://redirect.github.com/SourceHorizon/logger/issues/80).
### [`v2.3.0`](https://redirect.github.com/SourceHorizon/logger/blob/HEAD/CHANGELOG.md#230)
- AdvancedFileOutput: Added file deletion option. Thanks to
[@lomby92](https://redirect.github.com/lomby92) ([#71](https://redirect.github.com/SourceHorizon/logger/pull/71)).
### [`v2.2.0`](https://redirect.github.com/SourceHorizon/logger/blob/HEAD/CHANGELOG.md#220)
- Added AdvancedFileOutput. Thanks to
[@pyciko](https://redirect.github.com/pyciko) ([#65](https://redirect.github.com/SourceHorizon/logger/pull/65)).
- Added missing acknowledgments in README.
### [`v2.1.0`](https://redirect.github.com/SourceHorizon/logger/blob/HEAD/CHANGELOG.md#210)
- Improved README explanation about debug mode. Thanks to
[@gkuga](https://redirect.github.com/gkuga) ([#57](https://redirect.github.com/SourceHorizon/logger/pull/57)).
- Added web safe export. Fixes [#58](https://redirect.github.com/SourceHorizon/logger/issues/58).
- Added `logger.init` to optionally await any `async` `init()` methods.
Fixes [#61](https://redirect.github.com/SourceHorizon/logger/issues/61).
### [`v2.0.2+1`](https://redirect.github.com/SourceHorizon/logger/blob/HEAD/CHANGELOG.md#2021)
- Meta update: Updated repository links to https://github.com/SourceHorizon/logger.
### [`v2.0.2`](https://redirect.github.com/SourceHorizon/logger/blob/HEAD/CHANGELOG.md#2021)
- Meta update: Updated repository links to https://github.com/SourceHorizon/logger.
### [`v2.0.1`](https://redirect.github.com/SourceHorizon/logger/blob/HEAD/CHANGELOG.md#201)
- Updated README to reflect v2.0.0 log signature change.
### [`v2.0.0`](https://redirect.github.com/SourceHorizon/logger/blob/HEAD/CHANGELOG.md#200)
- Fixed supported platforms list.
- Removed reference to outdated `logger_flutter` project.
Thanks to [@yangsfang](https://redirect.github.com/yangsfang) ([#32](https://redirect.github.com/SourceHorizon/logger/pull/32)).
- Added override capability for logger defaults.
Thanks to [@yangsfang](https://redirect.github.com/yangsfang) ([#34](https://redirect.github.com/SourceHorizon/logger/pull/34)).
- `Level.verbose`, `Level.wtf` and `Level.nothing` have been deprecated and are replaced
by `Level.trace`, `Level.fatal` and `Level.off`.
Additionally `Level.all` has been added.
- PrettyPrinter: Added `levelColors` and `levelEmojis` as constructor parameter.
##### Breaking changes
- `log` signature has been changed to closer match dart's developer `log` function and allow for
future
optional parameters.
Additionally, `time` has been added as an optional named parameter to support providing custom
timestamps for LogEvents instead of `DateTime.now()`.
##### Migration:
- Before:
```dart
logger.e("An error occurred!", error, stackTrace);
```
- After:
```dart
logger.e("An error occurred!", error: error, stackTrace: stackTrace);
```
- `init` and `close` methods of `LogFilter`, `LogOutput` and `LogPrinter` are now async along
with `Logger.close()`.
(Fixes FileOutput)
- LogListeners are now called on every LogEvent independent of the filter.
- PrettyPrinter: `includeBox` is now private.
- PrettyPrinter: `errorMethodCount` is now only considered if an error has been provided.
Otherwise `methodCount` is used.
- PrettyPrinter: Static `levelColors` and `levelEmojis` have been renamed to `defaultLevelColors`
and `defaultLevelEmojis` and are used as fallback for their respective constructor parameters.
- Levels are now sorted by their respective value instead of the enum index (Order didn't change).
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
^1.1.0
->^2.0.0
Release Notes
SourceHorizon/logger (logger)
### [`v2.4.0`](https://redirect.github.com/SourceHorizon/logger/blob/HEAD/CHANGELOG.md#240) - Added pub.dev `topics`. Thanks to [@jonasfj](https://redirect.github.com/jonasfj) ([#74](https://redirect.github.com/SourceHorizon/logger/pull/74)). - PrettyPrinter: Added `dateTimeFormat` option (backwards-compatible with `printTime`). Fixes [#80](https://redirect.github.com/SourceHorizon/logger/issues/80). ### [`v2.3.0`](https://redirect.github.com/SourceHorizon/logger/blob/HEAD/CHANGELOG.md#230) - AdvancedFileOutput: Added file deletion option. Thanks to [@lomby92](https://redirect.github.com/lomby92) ([#71](https://redirect.github.com/SourceHorizon/logger/pull/71)). ### [`v2.2.0`](https://redirect.github.com/SourceHorizon/logger/blob/HEAD/CHANGELOG.md#220) - Added AdvancedFileOutput. Thanks to [@pyciko](https://redirect.github.com/pyciko) ([#65](https://redirect.github.com/SourceHorizon/logger/pull/65)). - Added missing acknowledgments in README. ### [`v2.1.0`](https://redirect.github.com/SourceHorizon/logger/blob/HEAD/CHANGELOG.md#210) - Improved README explanation about debug mode. Thanks to [@gkuga](https://redirect.github.com/gkuga) ([#57](https://redirect.github.com/SourceHorizon/logger/pull/57)). - Added web safe export. Fixes [#58](https://redirect.github.com/SourceHorizon/logger/issues/58). - Added `logger.init` to optionally await any `async` `init()` methods. Fixes [#61](https://redirect.github.com/SourceHorizon/logger/issues/61). ### [`v2.0.2+1`](https://redirect.github.com/SourceHorizon/logger/blob/HEAD/CHANGELOG.md#2021) - Meta update: Updated repository links to https://github.com/SourceHorizon/logger. ### [`v2.0.2`](https://redirect.github.com/SourceHorizon/logger/blob/HEAD/CHANGELOG.md#2021) - Meta update: Updated repository links to https://github.com/SourceHorizon/logger. ### [`v2.0.1`](https://redirect.github.com/SourceHorizon/logger/blob/HEAD/CHANGELOG.md#201) - Updated README to reflect v2.0.0 log signature change. ### [`v2.0.0`](https://redirect.github.com/SourceHorizon/logger/blob/HEAD/CHANGELOG.md#200) - Fixed supported platforms list. - Removed reference to outdated `logger_flutter` project. Thanks to [@yangsfang](https://redirect.github.com/yangsfang) ([#32](https://redirect.github.com/SourceHorizon/logger/pull/32)). - Added override capability for logger defaults. Thanks to [@yangsfang](https://redirect.github.com/yangsfang) ([#34](https://redirect.github.com/SourceHorizon/logger/pull/34)). - `Level.verbose`, `Level.wtf` and `Level.nothing` have been deprecated and are replaced by `Level.trace`, `Level.fatal` and `Level.off`. Additionally `Level.all` has been added. - PrettyPrinter: Added `levelColors` and `levelEmojis` as constructor parameter. ##### Breaking changes - `log` signature has been changed to closer match dart's developer `log` function and allow for future optional parameters. Additionally, `time` has been added as an optional named parameter to support providing custom timestamps for LogEvents instead of `DateTime.now()`. ##### Migration: - Before: ```dart logger.e("An error occurred!", error, stackTrace); ``` - After: ```dart logger.e("An error occurred!", error: error, stackTrace: stackTrace); ``` - `init` and `close` methods of `LogFilter`, `LogOutput` and `LogPrinter` are now async along with `Logger.close()`. (Fixes FileOutput) - LogListeners are now called on every LogEvent independent of the filter. - PrettyPrinter: `includeBox` is now private. - PrettyPrinter: `errorMethodCount` is now only considered if an error has been provided. Otherwise `methodCount` is used. - PrettyPrinter: Static `levelColors` and `levelEmojis` have been renamed to `defaultLevelColors` and `defaultLevelEmojis` and are used as fallback for their respective constructor parameters. - Levels are now sorted by their respective value instead of the enum index (Order didn't change).Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.