any_logger
A powerful, flexible, and intuitive logging library for Dart and Flutter with progressive complexity - from one-line setup to enterprise configurations.
1.1.4
95 downloads/mo
#2187 most downloaded on pub.dev
raoulsson/any_logger
What this package is like to depend on
Last release 5 months ago
25 Mar 2026
Release timing varies
gaps range from 2 weeks to 7 months
Nearly every release is documented
notes for 18 of 18 stable releases
Nothing withdrawn
no release was ever pulled
12 months old
18 releases · first in 2025
8 releases in the last 12 months
see the full history below
Release timeline
18 releases · Aug 2025 to Mar 2026
2026
Releases
latest 18-
1.1.425 Mar 2026Release notes
Open source →- Runtime device/session ID overrides —
LoggerFactory.setDeviceId(String)andLoggerFactory.setSessionId(String)allow pushing a custom identifier after initialization. Useful when the JSON_HTTP appender starts disabled (causingNullIdProviderto be selected at init time) but a user-provided device name becomes available later. The override takes precedence over whatever theIdProviderreturns.
- Runtime device/session ID overrides —
-
1.1.305 Sep 2025Release notes
Open source →- Enhanced Custom Logger Registration - Fixed and improved named logger retrieval functionality
Logger.defaultLogger()now auto-registers named loggers for retrieval viaLoggerFactory.getLogger(name)- Added new
LoggerFactory.createCustomLogger()method for cleaner custom logger creation API - Custom loggers with names can now be retrieved from anywhere in the application using the same instance
- Perfect for specialized logging (AI quality assessment, compliance auditing, financial exports, R&D analytics)
- Improved Documentation for Specialized Loggers
- Clarified that custom loggers are independent instances requiring manual feeding
- Added comprehensive example for AI quality assessment logging with export-ready format
- Enhanced explanation of custom logger benefits and use cases
- New Public API Methods
LoggerFactory.createCustomLogger(name, appenders)- recommended way to create retrievable custom loggersLoggerFactory.registerCustomLogger(logger)- manually register existing logger instances
- Comprehensive Test Coverage
- Added full test suite for custom logger registration functionality
- Tests cover both auto-registration and factory method approaches
- Includes integration tests with file appenders and multiple logger scenarios
- Backward Compatibility Maintained
- All existing APIs continue to work unchanged
- No breaking changes to current logging configurations or usage patterns
- Enhanced Custom Logger Registration - Fixed and improved named logger retrieval functionality
-
1.1.205 Sep 2025 -
1.1.105 Sep 2025Release notes
Open source →- Added
clearOnStartupconfiguration option for FileAppender- When enabled, log files are cleared on every app startup for fresh session logs
- Available in LoggerBuilder.file(), FileAppender.fromConfig(), and FileAppenderBuilder
- Defaults to
falseto maintain backward compatibility
- Enhanced documentation for creating independent "side loggers"
- Complete guide for creating separate loggers with their own file appenders
- Real-world examples including audit logging and payment processing scenarios
- Demonstrates how to isolate specific logging from main application logs
- Updated README with comprehensive FileAppender configuration table
- Added unit tests for IdProviderResolver
- Added
-
1.1.001 Sep 2025 -
1.0.1230 Aug 2025Release notes
Open source →- Forcing IdProvider creation early to fail fast nicely if config is incorrect for file appender on flutter
- Adding getters for Appenders from LoggerFactory by string or type
- Changed LoggerBuilder to add Appenders instead of replacing existing ones
-
1.0.1130 Aug 2025Release notes
Open source →- Fixed FileAppender which did not work on Flutter platforms
- Critical bug fix in LogRecordFormatter. Format placeholders in %m now handled properly
-
1.0.1030 Aug 2025 -
1.0.928 Aug 2025 -
1.0.826 Aug 2025 -
1.0.726 Aug 2025 -
1.0.626 Aug 2025 -
1.0.526 Aug 2025Release notes
Open source →- Updated README to reference extension packages through links
- Fixed issues reported by pano
-
1.0.425 Aug 2025 -
1.0.325 Aug 2025Release notes
Open source →- Stabilized Flutter platform detection for best IdProvider implementation selection
- Uncluttered README
-
1.0.224 Aug 2025 -
1.0.124 Aug 2025 -
1.0.024 Aug 2025