Skip to content
pubscout

logging_bugfender

6.0.1, released 4 months ago by leancode.co

Integrates Bugfender with Dart's standard logging package.

WASM-ready
$ flutter pub add logging_bugfender
Source repository

What it does

Bridges the logging package with Bugfender by listening to log records and forwarding them. It also allows adding and removing custom data for debugging sessions.

AI-written summary of version 6.0.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are already using the standard Dart logging package in your Flutter app and want to send logs to Bugfender.
  • You need to attach custom metadata like usernames to your remote logs.

Skip it when

  • You do not use the Dart logging package.
  • You do not use Bugfender as your remote logging or crash reporting service.

Strengths

  • Seamless integration between the standard logging package and Bugfender.
  • Supports custom data management for logs.
  • Configurable print strategies.

Weaknesses

  • Tied specifically to Bugfender and the logging package.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2

Requires setting up a Bugfender app key and initializing the LoggingBugfenderListener.

final loggingListener = LoggingBugfenderListener('my-very-secret-app-key');

void main() {
    Logger.root.level = Level.ALL;
    loggingListener.listen(Logger.root);
    runApp(MyApp());
}

Works with

Packages commonly used together with logging_bugfender: ones it builds on, ones built on it, and its own family.