console_log_handler 1.1.6
console_log_handler: ^1.1.6

Dart js
Flutter web

Console logger

1
likes
60 / 110
pub points
97 %
popularity

We analyzed this package on Dec 4, 2020, and awarded it 60 pub points (of a possible 110):

Follow Dart file conventions
0 / 20

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:55:47

   ╷
55 │ <p>If this plugin is helpful for you - please <a href="http://gplus.mikemitterer.at/">(Circle)</a> me.</p>
   │                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

0/5 points: Provide a valid CHANGELOG.md

Links in `CHANGELOG.md` should be secure. 8 links are insecure.

CHANGELOG.md:3:5

  ╷
3 │ <h2><a href="http://github.com/mikemitterer/dart-console_log_handler/compare/v1.1...HEAD">Unreleased</a></h2>
  │     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

Provide documentation
10 / 20

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 20 out of 35 API elements (57.1 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 1 of 2 possible platforms (native, js)

Consider supporting multiple platforms:

Package not compatible with runtime native

Because:

  • package:console_log_handler/console_log_handler.dart that imports:
  • dart:html
Pass static analysis
20 / 30

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

Found 18 issues. Showing the first 2:

INFO: Unnecessary new keyword.

lib/console_log_handler.dart:12:26

   ╷
12 │ final _DEFAULT_HANDLER = new LogConsoleHandler();
   │                          ^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/console_log_handler.dart

INFO: Use `=` to separate a named parameter from its default value.

lib/console_log_handler.dart:38:38

   ╷
38 │ void configLogging({ final Level show: Level.INFO }) {
   │                                      ^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/console_log_handler.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
ansicolor^1.0.01.1.11.1.1
intl>=0.15.2 <1.0.00.16.10.16.1
logging>=0.11.3 <1.0.00.11.40.11.4
Transitive dependencies
PackageConstraintCompatibleLatest
path-1.7.01.7.0

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

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