Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.
/ talker Public archive
forked from Frezyx/talker

Flutter / dart multiplatform advanced exception handling and logging

License

Notifications You must be signed in to change notification settings

AssistantApps/talker

 
 

Repository files navigation

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!

codecov Star on Github License: MIT talker talker_flutter talker_logger

Packages

Talker is designed for any level of customization.

Package Version Stats
talker Pub Pub Pub Pub
talker_flutter Pub Pub Pub Pub
talker_logger Pub Pub Pub Pub

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 ❤️


Thanks to all contributors of this package


For help getting started with 😍 Flutter, view online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

About

Flutter / dart multiplatform advanced exception handling and logging

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 95.3%
  • HTML 3.0%
  • Other 1.7%