bugs 1.0.0
bugs: ^1.0.0 copied to clipboard
A comprehensive bug report and logger package for Flutter applications.
1.0.0 #
Bug Fixes #
- Fixed an issue with log file naming that caused conflicts on some platforms.
- Updated dependencies to their latest versions for improved stability and performance.
- Improved error handling in the
GlobalErrorHandlerto better capture asynchronous errors.
0.0.1 #
Initial Release #
Features
-
Advanced Logging System
- Multiple log levels (Debug, Info, Warning, Error, Fatal)
- File and console logging support
- Automatic timestamp and metadata inclusion
- Memory and file storage management
- Real-time log streaming
-
Comprehensive Bug Reporting
- Easy-to-use bug report creation
- Automatic device and app information collection
- Steps to reproduce tracking
- Severity classification (Low, Medium, High, Critical)
- Attachment support
- Tagging system for categorization
-
Global Error Handling
- Automatic Flutter error capture
- Platform error handling
- Zone-based error management
- Network error utilities
- Performance monitoring with timing capabilities
-
Ready-to-Use UI Components
BugReportForm- Material Design bug report creation formBugReportList- Bug report management and viewing interface- Responsive design with filtering and search capabilities
-
Sharing & Export Functionality
- Share bug reports via system share dialog
- Export logs and reports in multiple formats
- Email integration ready
- Statistics sharing
Core Classes
BugReportSystem- Main entry point for all functionalityBugReportLogger- Advanced logging system with configurable optionsBugReportManager- Bug report storage and managementGlobalErrorHandler- Automatic error capture and loggingPerformanceMonitor- Operation timing and performance tracking
Models
LogEntry- Individual log record with metadata supportBugReport- Comprehensive bug report data structureDeviceInfo- Automatic device and app information collectionLogLevel- Enumeration for logging severity levelsBugSeverity- Enumeration for bug report severity classification
Utilities
BugReportSharer- System integration for sharing reportsErrorReporter- Manual error reporting utilitiesNetworkErrorHandler- Network-specific error handlingZoneErrorHandler- Zone-based error capture for app-wide protection
Configuration Options
LoggerConfig- Comprehensive logger configurationBugReportConfig- Bug report system configuration- Customizable log file names and storage limits
- Configurable automatic features (device info, log inclusion, etc.)
Example Application
- Complete example app demonstrating all features
- Best practices implementation
- UI component usage examples
- Error simulation and testing utilities
Dependencies
device_info_plus: ^10.1.0- Device information collectionpackage_info_plus: ^8.0.0- App information gatheringpath_provider: ^2.1.1- File system accessshare_plus: ^7.2.1- System sharing capabilitiesintl: ^0.19.0- Internationalization and date formattingconnectivity_plus: ^6.0.3- Network connectivity monitoring