talker_bloc_logger 2.0.0-dev.1 talker_bloc_logger: ^2.0.0-dev.1 copied to clipboard
Lightweight and customizable BLoC state management library logger on talker base.
talker_bloc_logger #
Lightweight and customizable BLoC state management library logger on talker base.
Talker - Advanced exception handling and logging for dart/flutter applications 🚀
Preview #
This is how the logs of your BLoC's event callign and state emits will look in the console
Getting started #
Follow these steps to use this package
Add dependency #
dependencies:
talker_bloc_logger: ^1.1.0
Usage #
Just set TalkerBlocObserver as Bloc.observer field and it will work
import 'package:talker_bloc_logger/talker_bloc_logger.dart';
Bloc.observer = TalkerBlocObserver();
Using with Talker #
You can add your talker instance for TalkerDioLogger if your app already uses Talker.
In this case, all logs and errors will fall into your unified tracking system
import 'package:talker_bloc_logger/talker_bloc_logger.dart';
import 'package:talker/talker.dart';
final talker = Talker();
Bloc.observer = TalkerBlocObserver(talker: talker);
Additional information #
The project is under development and ready for your pull-requests and issues 👍
Thank you for support ❤️