Log your app actions, catch and handle your app exceptions and errors, show alerts
Show some ❤️ and star the repo to support the project!
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 |
See all documentation at talker web site or follow these steps to the coolest experience in error handling
dependencies:
talker: ^1.1.0
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
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
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
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.