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

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

7
likes
130/ 160
pub points
39%
popularity

We analyzed this package 25 hours ago, and awarded it 130 pub points (of a possible 160):

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

failed
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

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:classic_logger/classic_logger.dart that imports:
  • package:classic_logger/src/output/file_output.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

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
30 / 40trigger 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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.12, Dart 3.5.3.

Check the analysis log for details.

7
likes
130
pub points
39%
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