logman 1.0.0
logman: ^1.0.0 copied to clipboard
A simple yet powerful logging package for Flutter apps with an integrated UI and an optional debug page.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2026-04-02 #
Added #
- Security parameter to
openDashboard()for consistent authentication support reverseparameter toLazyLogListfor displaying items newest-firstmaxLoadedRecordsparameter toLazyLogListfor configurable memory limits- Comprehensive test suite covering core logging, security, models, and batch processing
Fixed #
- Operator precedence bug in network error status code detection
- Static overlay entry overwrite causing orphaned overlays on double-attach
- Null safety crash in
durationInMsandsizeInBytesrecord extensions - Force-unwrap crash in
LogmanNavigatorObserver.didReplace()when route is null NavigationLogmanRecord.toString()printing raw object references instead of route namesNetworkLogmanRecord.toString()using wrong class name- Password not cleared from memory after authentication submission
- Auto-logout on dashboard dispose causing unnecessary re-authentication
- Missing
mountedchecks inLogmanAuthWrappercausing setState-after-dispose errors - Duplicate search computation in
RecordSearchDelegate - Unbounded memory growth in
LazyLogListloaded records - Dio interceptor: cache memory leak, null data crash, and unreliable request ID generation
Changed #
headers,statusCode, andbodyon network record constructors are now optional instead ofrequiredto match their nullable types- Log lists now use
ListView(reverse: true)instead of.reversed.toList()for better performance LazyLogListuses granular append-based updates instead of full resets when new records arrive- CI workflow runs
flutter pub getbeforedart fixanddart formatfor consistent results - Tests split into focused files mirroring the source structure
0.1.0 - 2024-08-24 #
Added #
- 5 Log Levels:
verbose,debug,info,warn,errorwith filtering and shorthand methods (.v(),.d(),.i(),.w(),.e()) - Security Lock: PIN/password protection with session management and auto-logout
- Performance: Lazy loading, virtual scrolling, and background processing for large log collections
- Tagged Logging: Organize logs with custom tags and metadata
- Enhanced UI: Color-coded levels, modern badges, and improved PIN entry design
Changed #
setMinLogLevel()→minimumLogLevelpropertyisError/isWarning→LogLevelsystem (old properties still work via getters)
Dependencies #
- Added
crypto: ^3.0.3for secure credential hashing
0.0.2 Earlier Release #
Cleanup from initial release
0.0.1 Initial Release #
Initial release