app_factory_logging 0.1.0 copy "app_factory_logging: ^0.1.0" to clipboard
app_factory_logging: ^0.1.0 copied to clipboard

App Factory debug-print baseline — AppLogger abstraction, debugPrint console, Riverpod bindings, FakeAppLogger, and AppLogSink breadcrumbs.

0.1.0 #

  • Breaking (pre-1.0): added AppLogLevel.trace and AppLogger.trace(...). Custom AppLogger implementations and exhaustive AppLogLevel switches must be updated. Existing enum indexes also shift because trace is first. The default minLevel: AppLogLevel.debug continues to filter trace output.
  • Added AppLogScope and AppLogger.forOwner(this) to bind the owner's runtime class name once and omit handwritten tags from subsequent calls.

0.0.2 #

  • Breaking (pre-1.0): console backend is terminal-only via debugPrint. Removed dart:developer, package:logging, and the process-wide Logger.root subscription.
  • Breaking (pre-1.0): removed test helpers debugResetForTest and debugIsHandlerRegisteredForTest (no longer needed without a global handler).
  • Added enableConsoleOutput (defaults to kDebugMode) and optional useAnsiColors (off by default).
  • warn / error still forward to AppLogSink for breadcrumbs; sink failures print a single diagnostic when console output is enabled, without duplicating the exception text.
  • Per-instance enableConsoleOutput / minLevel control.

0.0.1 #

  • Initial release: AppLogger abstraction, ConsoleAppLogger (truncation + debugChunked), FakeAppLogger, generated Riverpod providers, AppLogSink interface, and optional AppLoggerProviderObserver.
0
likes
150
points
338
downloads

Documentation

API reference

Publisher

verified publisheradoptrack.com

Weekly Downloads

App Factory debug-print baseline — AppLogger abstraction, debugPrint console, Riverpod bindings, FakeAppLogger, and AppLogSink breadcrumbs.

Repository (GitHub)
View/report issues

Topics

#logging #riverpod #flutter #debug

License

MIT (license)

Dependencies

flutter, flutter_riverpod, riverpod_annotation

More

Packages that depend on app_factory_logging