Structured logging, with a talker-backed implementation and an in-app log screen. Part of the modular-flutter-template core modules.
Two packages:
logger_api— the abstract contract. Feature code and other_apipackages depend on this, never onlogger_impl.logger_impl— the concrete implementation. Only the app's composition root depends on this.
Workspace packages: depend on them by name, with no source:
dependencies:
logger_api:
logger_impl: # the app's composition root onlyResolved with the rest of the workspace: run flutter pub get at the repo
root. Tests run with the others through dart run melos test.