Skip to main content

structured_log_riverpod 0.1.0-dev.2 copy "structured_log_riverpod: ^0.1.0-dev.2" to clipboard
structured_log_riverpod: ^0.1.0-dev.2 copied to clipboard

StructuredLogRiverpodObserver — a ProviderObserver that turns the lifecycle of every Riverpod provider (created, updated, failed, removed) into structured_log entries. Works with flutter_riverpod as is.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add structured_log_riverpod

With Flutter:

 $ flutter pub add structured_log_riverpod

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  structured_log_riverpod: ^0.1.0-dev.2

Alternatively, your editor might support dart pub get or flutter 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_riverpod/structured_log_riverpod.dart';
0
likes
150
points
84
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

StructuredLogRiverpodObserver — a ProviderObserver that turns the lifecycle of every Riverpod provider (created, updated, failed, removed) into structured_log entries. Works with flutter_riverpod as is.

Homepage
Repository (GitHub)
View/report issues

Topics

#logging #riverpod #state-management #structured-logging #debugging

License

MIT (license)

Dependencies

riverpod, structured_log

More

Packages that depend on structured_log_riverpod