classic_logger 1.0.0 copy "classic_logger: ^1.0.0" to clipboard
classic_logger: ^1.0.0 copied to clipboard

It is a cross-platform classic and minimalist logger written in the Dart language.

7
likes
110/ 140
pub points
50%
popularity

We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

32 out of 43 API elements (74.4 %) have documentation comments.

Some symbols that are missing documentation: classic_logger, classic_logger.ConsoleOutput.dispose, classic_logger.ConsoleOutput.init, classic_logger.ConsoleOutput.output, classic_logger.FileOutput.dispose.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:classic_logger/classic_logger.dart that imports:
  • package:classic_logger/src/output/file_output.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

WARNING: This API is available since SDK 2.15.0, but constraints '>=2.12.0 <3.0.0' don't guarantee it.

lib/src/printer/log_printer.dart:72:19

   ╷
72 │       event.level.name.padRight(padRightWidth ?? 5, padRightPattern ?? ' ');
   │                   ^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/printer/log_printer.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
intl ^0.17.0 0.17.0 0.19.0
Transitive dependencies
Package Constraint Compatible Latest
clock - 1.1.1 1.1.1
path - 1.9.0 1.9.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.17.0` on intl does not support the stable version `0.18.0`.

Try running dart pub upgrade --major-versions intl to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

7
likes
110
pub points
50%
popularity

Publisher

unverified uploader

It is a cross-platform classic and minimalist logger written in the Dart language.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

intl

More

Packages that depend on classic_logger