slog_core 0.2.0 copy "slog_core: ^0.2.0" to clipboard
slog_core: ^0.2.0 copied to clipboard

A Basic Logger and Core for SLogs. A logger that wants to be more flexible.

150/ 160
pub points
27
downloads

We analyzed this package 7 days ago, and awarded it 150 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

78 out of 82 API elements (95.1 %) have documentation comments.

Some symbols that are missing documentation: slog_core.logger, slog_core.logger.SLogInterceptor.SLogInterceptor.new, slog_core.logger.SLogPrinter.SLogPrinter.new, slog_core.logger.ToJsonFunctions.ToJsonFunctions.new.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:slog_core/slog_core.dart that imports:
  • package:slog_core/src/slogger.dart that imports:
  • dart:isolate

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:slog_core/slog_core.dart that imports:
  • package:slog_core/src/slogger.dart that imports:
  • dart:isolate

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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 9 issues. Showing the first 2:

INFO: The constant name 'ALL' isn't a lowerCamelCase identifier.

lib/src/levels.dart:27:22

   ╷
27 │   static const Level ALL = Level('ALL', 0);
   │                      ^^^
   ╵

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

INFO: The constant name 'OFF' isn't a lowerCamelCase identifier.

lib/src/levels.dart:30:22

   ╷
30 │   static const Level OFF = Level('OFF', 2000);
   │                      ^^^
   ╵

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
async ^2.10.0 2.13.0 2.13.0
meta ^1.8.0 1.17.0 1.17.0
stack_trace ^1.10.0 1.12.1 1.12.1
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
path - 1.9.1 1.9.1

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.0, Dart 3.9.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
150
points
27
downloads

Publisher

unverified uploader

Weekly Downloads

A Basic Logger and Core for SLogs. A logger that wants to be more flexible.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

async, meta, stack_trace

More

Packages that depend on slog_core