talker 1.1.1 talker: ^1.1.1 copied to clipboard
Advanced error handler and logger package for flutter and dart apps
Advanced exceptions and errors handler and logger for dart and flutter apps ☎️
Log your app actions, catch and handle your app exceptions and errors, show alerts
Show some ❤️ and star the repo to support the project!
Packages #
Talker is designed for any level of customization.
- Use talker_logger if you need only a pretty logger for your Flutter/dart app.
- Use talker if you need error handling and advanced methods.
- Use talker_flutter to handle error in a Flutter application, display error alerts, collect statistics and output errors to the UI.
Package | Version | Stats |
---|---|---|
talker | ||
talker_flutter | ||
talker_logger |
Get Started #
See all documentation at talker web site or follow these steps to the coolest experience in error handling
Add dependency #
dependencies:
talker: ^1.1.0
Easy to use #
You can use Talker instance everywhere in your app
Simple and concise syntax will help you with this
final talker = Talker();
// Handle exceptions and errors
try {
// your code...
} on Exception catch (e, st) {
talker.handle(e, st, 'Exception in ...');
}
// Log your app info
talker.info('App is started');
talker.critical('❌ Houston, we have a problem!');
talker.error('🚨 The service is not available');
///...
More examples you can get there or in docs
Customization #
Configure the error handler and logger for yourself
final talker = Talker();
talker.configure(
/// Your own observers to handle errors's exception's and log's
observers: [],
settings: const TalkerSettings(
maxHistoryItems: 100,
useHistory: true,
useConsoleLogs: true,
),
);
More examples you can get there or in docs
Use Talker Flutter #
Often you need to check what happening in the application when there is no console at hand. There is a talker_flutter package for this situations.
Check SetUp guide on docs site
Coverage #
Additional information #
The project is under development and ready for your pull-requests and issues 👍
Thank you for support ❤️
For help getting started with 😍 Flutter, view online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.