app_factory_logging 0.1.0
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.traceandAppLogger.trace(...). CustomAppLoggerimplementations and exhaustiveAppLogLevelswitches must be updated. Existing enum indexes also shift becausetraceis first. The defaultminLevel: AppLogLevel.debugcontinues to filter trace output. - Added
AppLogScopeandAppLogger.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. Removeddart:developer,package:logging, and the process-wideLogger.rootsubscription. - Breaking (pre-1.0): removed test helpers
debugResetForTestanddebugIsHandlerRegisteredForTest(no longer needed without a global handler). - Added
enableConsoleOutput(defaults tokDebugMode) and optionaluseAnsiColors(off by default). warn/errorstill forward toAppLogSinkfor breadcrumbs; sink failures print a single diagnostic when console output is enabled, without duplicating the exception text.- Per-instance
enableConsoleOutput/minLevelcontrol.
0.0.1 #
- Initial release:
AppLoggerabstraction,ConsoleAppLogger(truncation +debugChunked),FakeAppLogger, generated Riverpod providers,AppLogSinkinterface, and optionalAppLoggerProviderObserver.