structured_log_drift 0.1.0-dev.4
structured_log_drift: ^0.1.0-dev.4 copied to clipboard
StructuredLogDriftInterceptor — a drift QueryInterceptor that logs every query, batch, failure and transaction end as a structured_log entry, with its duration and slow queries flagged; argument value [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add structured_log_driftThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
structured_log_drift: ^0.1.0-dev.4Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:structured_log_drift/structured_log_drift.dart';