0.8.0: pretty logger (Log) + crash capture

- Log: static entry + scoped Loggers (Log.tag), six levels, lazy messages,
  structured fields, ANSI ConsoleSink, DeveloperSink, MemorySink, NoopSink.
  Sinks compose via +; throwing sinks are isolated.
- Log.configure wires FlutterError/PlatformDispatcher/isolate errors through
  Log.e by default; log-then-rethrow deduped via Expando.
- UxKeyboard: migrate kDebugMode print() to Log.tag('KB').d lazily.
- Depend on package:clock for testable timestamps.
This commit is contained in:
agra
2026-04-24 15:06:16 +03:00
parent fc24035162
commit 6f73b53c5e
11 changed files with 883 additions and 10 deletions

View File

@@ -3,7 +3,7 @@ description: >-
Flutter toolkit for fluid, native-feeling UIs. Includes frame-accurate
keyboard height tracking via FFI with interactive dismiss, bezier utilities,
and layout primitives.
version: 0.7.0
version: 0.8.0
homepage: https://swipelab.co/ux.html
repository: https://github.com/swipelab/ux
issue_tracker: https://github.com/swipelab/ux/issues
@@ -21,6 +21,7 @@ dependencies:
sdk: flutter
matcher: ^0.12.16
build: ^2.4.0
clock: ^1.1.1
dev_dependencies:
flutter_lints: ^6.0.0