talker_persistent 2.0.0+1 copy "talker_persistent: ^2.0.0+1" to clipboard
talker_persistent: ^2.0.0+1 copied to clipboard

An extension for the talker package that adds persistence to logs, allowing you to save logs both to files and Hive database.

90/ 160
pub points
4
downloads

We analyzed this package 11 hours ago, and awarded it 90 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

26 out of 54 API elements (48.1 %) have documentation comments.

Some symbols that are missing documentation: hive_adapters, hive_adapters.LogLevelPersistentAdapter, hive_adapters.LogLevelPersistentAdapter.LogLevelPersistentAdapter.new, hive_adapters.TalkerDataPersistentAdapter, hive_adapters.TalkerDataPersistentAdapter.TalkerDataPersistentAdapter.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:talker_persistent/talker_persistent.dart that imports:
  • package:talker_persistent/src/talker_persistent_service.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

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

Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

ERROR: Undefined name 'TalkerLogType'.

lib/src/pretty_talker.dart:61:7

   ╷
61 │       TalkerLogType.httpError.key,
   │       ^^^^^^^^^^^^^
   ╵

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

ERROR: Undefined name 'TalkerLogType'.

lib/src/pretty_talker.dart:62:7

   ╷
62 │       TalkerLogType.httpRequest.key,
   │       ^^^^^^^^^^^^^
   ╵

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

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
collection any 1.19.1 1.19.1
hive_ce any 2.14.0 2.14.0
path any 1.9.1 1.9.1
talker any 5.0.2 5.0.2
Transitive dependencies
Package Constraint Compatible Latest Notes
ansicolor - 2.0.3 2.0.3
crypto - 3.0.6 3.0.6
isolate_channel - 0.2.2+1 0.2.2+1
json_annotation - 4.9.0 4.9.0
meta - 1.17.0 1.17.0
talker_logger - 5.0.2 5.0.2
typed_data - 1.4.0 1.4.0
web - 1.1.1 1.1.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 30 errors:

  • UNDEFINED_ANNOTATION - lib/hive/hive_adapters.dart:5:1 - Undefined name 'GenerateAdapters' used as an annotation.
  • NON_CONSTANT_LIST_ELEMENT - lib/hive/hive_adapters.dart:6:3 - The values in a const list literal must be constants.
  • UNDEFINED_FUNCTION - lib/hive/hive_adapters.dart:6:3 - The function 'AdapterSpec' isn't defined.

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.22.23, Dart 3.9.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
90
points
4
downloads

Publisher

unverified uploader

Weekly Downloads

An extension for the talker package that adds persistence to logs, allowing you to save logs both to files and Hive database.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

collection, hive_ce, path, talker

More

Packages that depend on talker_persistent