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.
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
90Compare - logger
An extensible logger for printing formatted logs with levels, custom filters, and printers.
83Compare - flutter_logs
File-based logging framework for Flutter with ELK Stack and MQTT support.
79Compare - mixin_logger
Simple logger for Flutter that prints and saves logs to files.
75Compare
Works with
Packages commonly used together with f_logs: ones it builds on, ones built on it, and its own family.
- stack_tracef_logs depends on itProvides parsing, inspection, and readable formatting of Dart stack traces.
- intlf_logs depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- path_providerf_logs depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- sembastf_logs depends on itA NoSQL persistent embedded document-based database for Dart and Flutter.
- xxteaf_logs depends on itFast and secure XXTEA encryption algorithm for Dart.