simplest_logger 2.0.0
simplest_logger: ^2.0.0 copied to clipboard
A lightweight, opinionated, colorful logging utility for Dart applications. Minimal configuration necessary.
0.0.1 #
- Initial version of the package.
0.0.2 #
- Added global log level configuration.
- Added
respectGlobalLogLevelconfiguration. - Bumped SDK constraint to
>=3.6.0 <4.0.0.
0.0.3 #
- Update documentation.
0.0.4 #
- Replace
printwithlog
0.0.5 #
- Revert back.
1.0.0 #
- Initial stable, and ready for production use version of the package.
- Breaking changes in the API design. Be sure to read the README.md file.
1.0.1 #
- Formatting changes in the codebase.
- Pushed changes to GitLab repository.
1.0.2 #
- Refactor
SimplestLoggerto use global configuration and simplify initialization. - Update documentation.
1.0.4 #
Update dependencies.
1.0.5 #
Change repository URL, and format the codebase.
1.0.6 #
Update dependencies, SDK version constraints.
1.0.7 #
- Bump SDK version constraints.
- Replace GitHub repository URL with GitLab.
1.0.8 #
- Update dependencies and Dart SDK constraints.
2.0.0 #
Breaking changes:
- Removed the dependency on
package:logging. The logger no longer listens onLogger.root, so it neither prints records from otherloggingusers nor silences them viasetLevel(SimplestLoggerLevel.none). - The error level is printed as
ERRORinstead ofSEVERE. - Removed
SimplestLoggerConfig. UseSimplestLogger.setLevelandSimplestLogger.useColorsinstead.
Other changes:
- Fix: log messages were silently dropped until
SimplestLogger.setLevelorSimplestLogger.useColorshad been called at least once. The logger now works with zero configuration, as documented. - Added
SimplestLoggerLevel.warningandSimplestLoggerLevel.errorthresholds. - Documented the
runtimeTypecaveat ofSimplestLoggerMixinin obfuscated builds. - Fix
simple_directive_pathsanalyzer errors. - Rewrite tests: cover the public API, the exact formatted output (including ANSI colors), and an end-to-end run of the example against real stdout.