Skip to content
pubscout

f_logs

2.0.1, released 5 years ago by an unverified publisher

Advanced logging framework that saves logs to a database and exports them in files or zip archives.

Unverified publisher
$ flutter pub add f_logs
Source repository

What it does

FLog is an advanced logging solution for Flutter that saves logs into a local database (sembast). It supports various log levels, custom formatting, encryption, stack traces, and data logs. Logs can be filtered, queried, printed as strings, or exported as zip archives.

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

Use it when

  • You need to store app logs locally in a database for production debugging and user activity tracking.
  • You want to export filtered logs or zip files to share or upload to a server.
  • You need support for log levels, custom data logs, and exception formatting.

Skip it when

  • You only need standard console printing without local database storage or file exporting.
  • You require a zero-dependency solution.

Strengths

  • Saves logs to a database with robust filtering capabilities.
  • Supports log encryption and data log types.
  • Provides automatic or manual class/method name detection.

Weaknesses

  • Requires manual platform permission configuration on Android and iOS.
  • Relies on several third-party dependencies (sembast, xxtea, intl, etc.).

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
7

Requires adding storage permissions to AndroidManifest.xml and photo library usage descriptions in iOS Info.plist.

FLog.info(
  className: "HomePage",
  methodName: "_buildRow1",
  text: "My log");

Alternatives

Packages that do the same job and could replace f_logs.

  • sentry_logging

    Adds Sentry logging integration for the Dart logging package

  • logger

    An extensible logger for printing formatted logs with levels, custom filters, and printers.

  • flutter_logs

    File-based logging framework for Flutter with ELK Stack and MQTT support.

  • mixin_logger

    Simple logger for Flutter that prints and saves logs to files.

Works with

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