talker 1.1.0 talker: ^1.1.0 copied to clipboard
Advanced error handler and logger package for flutter and dart apps
Advanced exception handling and logging for dart/flutter applications 🚀
Log your app actions, catch and handle your app exceptions and errors
Show some ❤️ and star the repo to support the project!
Get Started #
See Get Started documentation at talker web site or follow these steps to use this package
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 #
For help getting started with 😍 Flutter, view online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.