Log your app actions, catch and handle your app exceptions and errors
Show some ❤️ and star the repo to support the project!
See Get Started documentation at talker web site or follow these steps to use this package
dependencies:
talker: ^1.0.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
For help getting started with 😍 Flutter, view online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.