Skip to content

Migrate logger to 2.x#2

Merged
O-Hannonen merged 1 commit intoMankeli-Software:mainfrom
vanyasem:main-sem
May 21, 2025
Merged

Migrate logger to 2.x#2
O-Hannonen merged 1 commit intoMankeli-Software:mainfrom
vanyasem:main-sem

Conversation

@vanyasem
Copy link
Copy Markdown
Contributor

@vanyasem vanyasem commented Oct 23, 2024

Description

Fixes #1

  1. Migrated logger to 2.x
  2. Removed dependency on dart code metrics
  3. Updated all other deps to their latest versions

Ideally, LoggerCallback's signature should be changed to match the new signature of logger's callback, but that would introduce a breaking change. I make an adapter function that converts the new callback's signature to the old one (which is used by LoggerCallback). The makes my changes non-breaking

If you decide that changing the LoggerCallback's signature (and thus introducing a breaking change) is preferred, let me know - I will update my PR.


In addition, verbose was renamed to trace; and wtf was renamed to fatal. I kept the original function names.

Conventional Type

  • ✨ feat
  • 🛠️ fix
  • ✅ chore
  • 📝 doc
  • 🧪 test
  • ❌ BREAKING CHANGE

@O-Hannonen
Copy link
Copy Markdown
Contributor

Thank you for your contribution and sorry for the delay in responding!

@O-Hannonen O-Hannonen merged commit 443fe4a into Mankeli-Software:main May 21, 2025
@vanyasem
Copy link
Copy Markdown
Contributor Author

vanyasem commented May 24, 2025

@O-Hannonen thank you for taking the time to review the PR!
I've created an accompanying PR in dart_define to update the mankeli_core's version: Mankeli-Software/dart_define#17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Logger dependency is outdated

2 participants