simplest_logger 2.0.0 copy "simplest_logger: ^2.0.0" to clipboard
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 respectGlobalLogLevel configuration.
  • Bumped SDK constraint to >=3.6.0 <4.0.0.

0.0.3 #

  • Update documentation.

0.0.4 #

  • Replace print with log

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 SimplestLogger to 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 on Logger.root, so it neither prints records from other logging users nor silences them via setLevel(SimplestLoggerLevel.none).
  • The error level is printed as ERROR instead of SEVERE.
  • Removed SimplestLoggerConfig. Use SimplestLogger.setLevel and SimplestLogger.useColors instead.

Other changes:

  • Fix: log messages were silently dropped until SimplestLogger.setLevel or SimplestLogger.useColors had been called at least once. The logger now works with zero configuration, as documented.
  • Added SimplestLoggerLevel.warning and SimplestLoggerLevel.error thresholds.
  • Documented the runtimeType caveat of SimplestLoggerMixin in obfuscated builds.
  • Fix simple_directive_paths analyzer 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.
0
likes
160
points
182
downloads

Documentation

API reference

Publisher

verified publisherbizjak.dev

Weekly Downloads

A lightweight, opinionated, colorful logging utility for Dart applications. Minimal configuration necessary.

Repository (GitLab)
View/report issues

Topics

#logging

License

MIT (license)

More

Packages that depend on simplest_logger