Skip to content
pubscout

logging_flutter

3.0.0, released 3 years ago by levinriegner.com

Flutter extension for the logging package providing formatting, console logging, and an in-app log console.

$ flutter pub add logging_flutter
Source repository

What it does

It provides a simple tool for logging messages with severity levels, printing class and method names, capturing third-party package logs, and viewing logs inside an in-app console.

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

Use it when

  • You want a structured logging format in your Flutter app using the standard logging package
  • You need an in-app console widget to view and share logs on device
  • You want to forward logs to third-party services like Crashlytics or DataDog

Skip it when

  • You are building a pure Dart package without Flutter dependencies
  • You require complex distributed tracing solutions

Strengths

  • Built-in in-app log console UI
  • Supports custom formatters and multiple logger names
  • Easy integration with external logging and crash reporting services

Weaknesses

  • Limited to Flutter applications due to its extension nature and UI components
  • Basic log filtering requires manual implementation

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2

Initialize Flogger using Flogger.init() and optionally register listeners.

Flogger.init();
Flogger.d("Debug message");

Alternatives

Packages that do the same job and could replace logging_flutter.

  • talker

    Advanced error handler and logger package for Flutter and Dart apps.

  • talker_logger

    Lightweight, customizable logger with filters, formatters and log levels

  • df_log

    A Dart logging utility offering styled, tag‑filtered, in‑memory logs with JSON export and callbacks.

  • catcher_2

    Plugin for automatic error catching and handling in Flutter apps.

Works with

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