colored_logger 1.2.7
colored_logger: ^1.2.7 copied to clipboard
A Dart package for colored terminal logs (VS Code, Android Studio, IntelliJ) with Ansi escape codes.
We analyzed this package 3 days ago, and awarded it 150 pub points (of a possible 160):
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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
106 out of 332 API elements (31.9 %) have documentation comments.
Some symbols that are missing documentation: colored_logger
, colored_logger.Ansi
, colored_logger.Ansi.Ansi.new
, colored_logger.Ansi.bg256
, colored_logger.Ansi.bgBlack
.
10/10 points: Package has an example
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:colored_logger/colored_logger.dart
that imports:package:colored_logger/src/extensions.dart
that imports:package:colored_logger/src/ansi.dart
that imports:package:colored_logger/src/utils.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:colored_logger/colored_logger.dart
that imports:package:colored_logger/src/extensions.dart
that imports:package:colored_logger/src/ansi.dart
that imports:package:colored_logger/src/utils.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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
INFO: 'AnsiColors' is deprecated and shouldn't be used. This class will be removed in a future release. Use `Ansi` class instead.
lib/src/colored_logger.dart:90:48
╷
90 │ custom(message, prefix: prefix, ansiCodes: AnsiColors.info);
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/colored_logger.dart
INFO: 'AnsiColors' is deprecated and shouldn't be used. This class will be removed in a future release. Use `Ansi` class instead.
lib/src/colored_logger.dart:103:48
╷
103 │ custom(message, prefix: prefix, ansiCodes: AnsiColors.success);
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/colored_logger.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.24
, Dart 3.9.4
.
Check the analysis log for details.