Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 27, 2023

Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.

This PR contains the following updates:

Package Type Update Change
logger dependencies major ^1.0.0 -> ^2.0.0

Release Notes

SourceHorizon/logger (logger)

v2.6.1

Compare Source

  • AdvancedFileOutput: Fixed race condition while flushing the buffer (StateError).
    Closes #​99, thanks to @​sap1tz.

v2.6.0

Compare Source

  • Added log level comparison operators. Thanks to
    @​busslina (#​90).
  • AdvancedFileOutput: Added fileHeader and fileFooter options.
    Closes #​97.

v2.5.0

Compare Source

  • AdvancedFileOutput: Added support for custom fileUpdateDuration. Thanks to
    @​shlowdy (#​86).
  • README: Fixed outdated LogOutput documentation.

v2.4.0

Compare Source

  • Added pub.dev topics. Thanks to
    @​jonasfj (#​74).
  • PrettyPrinter: Added dateTimeFormat option (backwards-compatible with printTime).
    Fixes #​80.

v2.3.0

Compare Source

v2.2.0

Compare Source

  • Added AdvancedFileOutput. Thanks to
    @​pyciko (#​65).
  • Added missing acknowledgments in README.

v2.1.0

Compare Source

  • Improved README explanation about debug mode. Thanks to
    @​gkuga (#​57).
  • Added web safe export. Fixes #​58.
  • Added logger.init to optionally await any async init() methods.
    Fixes #​61.

v2.0.2+1

Compare Source

v2.0.2

Compare Source

v2.0.1

Compare Source

  • Updated README to reflect v2.0.0 log signature change.

v2.0.0

Compare Source

  • Fixed supported platforms list.
  • Removed reference to outdated logger_flutter project.
    Thanks to @​yangsfang (#​32).
  • Added override capability for logger defaults.
    Thanks to @​yangsfang (#​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 - "after 9pm,before 6am" in timezone Africa/Johannesburg, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies renovate bot related dependency upgrades label Jul 27, 2023
@renovate renovate bot enabled auto-merge (squash) July 27, 2023 02:25
@renovate renovate bot force-pushed the renovate/logger-2.x branch from 1a357ee to 8c6cf1f Compare September 6, 2023 05:38
@renovate renovate bot force-pushed the renovate/logger-2.x branch from 8c6cf1f to fd78a1b Compare October 19, 2023 04:06
@renovate renovate bot force-pushed the renovate/logger-2.x branch from fd78a1b to ad8a95c Compare November 2, 2023 22:41
@renovate renovate bot force-pushed the renovate/logger-2.x branch from ad8a95c to b51e41a Compare May 9, 2024 22:26
@renovate renovate bot force-pushed the renovate/logger-2.x branch from b51e41a to 1ac8442 Compare September 26, 2024 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies renovate bot related dependency upgrades
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants