flutter_remote_logger 0.2.5
flutter_remote_logger: ^0.2.5 copied to clipboard
A comprehensive remote logging and profiling package for Flutter. Captures sessions, device info, and uploads logs to Firebase or custom backends.
0.2.5 #
- Improved Sync: Refined synchronization logic to use Process ID (PID) matching instead of file modification time. This prevents race conditions and ensures more robust coupling between Flutter and Native environments running in the same process.
0.2.4 #
- Cross-Platform Synchronization: Added
SessionSynchronizerto ensure Flutter and Android logs share the samegroupSessionIdby reading/writing a shared lock file (session.lock) in the app's document directory.
0.2.3 #
- Supabase Upload: Filenames now include
groupSessionIdif present (e.g.log_UUID_GROUPID.flutter.jsonl) to enable easier coupling with other platform logs. - Session Info: Added
groupSessionIdtoSessionInfomodel.
0.2.2 #
- Device ID: Changed Android Device ID generation to use
android_id(Settings.Secure.ANDROID_ID) instead ofBuild.IDto match native Android behavior and ensure consistency.
0.2.1 #
- Improved documentation for pub.dev compliance.
- Fixed lints regarding braces in control flow structures.
- Validated
.flutter.jsonlsuffix for log files.
0.2.0 #
- Session Synchronization: Added automatic session ID synchronization with native Android logs using a file-based lock mechanism.
- Platform Suffix: Log files are now saved with a
.flutter.jsonlsuffix to distinguish them from native logs. - Device ID: Exposed
deviceIdgetter for easy retrieval of the unique device identifier. - Disable Logging: Added
isEnabledparameter toinitialize()to globally disable logging and uploading. - Internal: Implemented
SessionSynchronizerlogic.
0.1.3 #
- Added
timefield toLogEntryfor human-readable ISO-8601 timestamps. - Automatic upload of
device_info.jsonto the device's log folder for easier identification. - Updated
RemoteLoggerto handle device info upload on initialization.
0.1.2 #
- Added
eventsstream toRemoteLoggerfor listening to upload success and errors. - Added
RemoteLoggerEvent,RemoteLoggerSuccess, andRemoteLoggerErrorclasses.
0.1.1 #
- Added automatic log uploading (periodic and on startup).
- Improved
RemoteLoggerinitialization to recover orphan sessions.
0.1.0 #
- Added
SupabaseLogUploaderfor Supabase integration. - Added documentation for Supabase setup.
0.0.1-beta1 #
- Initial release.
- Added
RemoteLoggerfor session-based logging. - Added
FileLogStoragefor local buffering. - Added
FirebaseLogUploaderfor backend integration. - Added device metadata capture.