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: ^0.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 ❤️