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

A simple and extensible logging solution for dart and flutter apps with handy pre-built loggers.

140/ 160
pub points
121
downloads

We analyzed this package 45 hours ago, and awarded it 140 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: BSD-3-Clause.

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

55 out of 65 API elements (84.6 %) have documentation comments.

Some symbols that are missing documentation: loghub.CompositeLogger.filters, loghub.CompositeLogger.loggers, loghub.ConsoleLogger.ConsoleLogger.test, loghub.DefaultLogPolicyController.DefaultLogPolicyController.test, loghub.FileLogger.FileLogger.test.

Passed check 10/10 points: Package has an example

Passed 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:loghub/loghub.dart that imports:
  • package:loghub/src/loggers/file_logger.dart that imports:
  • package:loghub/src/services/file_writer.dart that imports:
  • dart:io
Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

Failed report section
Support up-to-date dependencies
20 / 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
dart_functionals ^1.0.0 1.0.1 1.0.1
meta ^1.12.0 1.19.0 1.19.0
path ^1.8.0 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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 4 errors:

  • UNDEFINED_CLASS - lib/src/services/default_file_writer.dart:15:3 - Undefined class 'Result'.
  • UNDEFINED_METHOD - lib/src/services/default_file_writer.dart:35:14 - The method 'Success' isn't defined for the type 'DefaultFileWriter'.
  • UNDEFINED_METHOD - lib/src/services/default_file_writer.dart:37:14 - The method 'Failure' isn't defined for the type 'DefaultFileWriter'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.15, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
121
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A simple and extensible logging solution for dart and flutter apps with handy pre-built loggers.

Homepage
Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

dart_functionals, meta, path

More

Packages that depend on loghub