cr_logger 2.4.2 copy "cr_logger: ^2.4.2" to clipboard
cr_logger: ^2.4.2 copied to clipboard

Powerful logging plugin. Supports android, ios and web platforms.

48
likes
80/ 160
pub points
343
downloads

We analyzed this package 4 days ago, and awarded it 80 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

55 out of 213 API elements (25.8 %) have documentation comments.

Some symbols that are missing documentation: assets, assets.CRLoggerAssets.assetsArrowDown, assets.CRLoggerAssets.assetsContentCopy, assets.CRLoggerAssets.assetsIcBack, assets.CRLoggerAssets.assetsIcMenu.

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 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:cr_logger/cr_logger.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:cr_logger/cr_logger.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:cr_logger/cr_logger.dart that declares support for platforms: Android, iOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:cr_logger/cr_logger.dart that imports:
  • package:cr_logger/src/widget/cr_inspector.dart that imports:
  • package:cr_logger/src/cr_logger_helper.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:cr_logger/cr_logger.dart that imports:
  • package:cr_logger/src/widget/cr_inspector.dart that imports:
  • package:cr_logger/src/cr_logger_helper.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:cr_logger/cr_logger.dart that imports:
  • package:cr_logger/src/managers/http_log_manager.dart that imports:
  • package:cr_logger/src/providers/sqflite_provider.dart that imports:
  • package:cr_logger/src/data/sqflite_db/log_module.dart that imports:
  • package:cr_logger/src/data/sqflite_db/sqflite_repository.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.

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.dev/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 12 issues. Showing the first 2:

ERROR: The argument type 'CardThemeData' can't be assigned to the parameter type 'CardTheme'.

lib/src/cr_logger.dart:155:42

    ╷
155 │           theme.copyWithDefaultCardTheme(loggerTheme.cardTheme);
    │                                          ^^^^^^^^^^^^^^^^^^^^^
    ╵
copied to clipboard

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

INFO: 'dart:html' is deprecated and shouldn't be used. Use package:web and dart:js_interop instead.

lib/cr_logger_web.dart:6:1

6import 'dart:html' as html show window;
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
copied to clipboard

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

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

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

Package Constraint Compatible Latest Notes
app_settings ^5.1.1 5.2.0 5.2.0
chopper ^7.0.10 7.4.0 8.1.0
cr_json_widget ^1.1.1 1.1.1 1.1.1
dio ^5.4.0 5.8.0+1 5.8.0+1
http ^1.1.2 1.2.0 1.3.0
infinite_scroll_pagination ^4.0.0 4.1.0 5.0.0
inspector ^2.1.0 2.1.0 3.0.0
js ^0.6.7 0.6.7 0.7.2 Discontinued
logger ^2.0.2+1 2.5.0 2.5.0
package_info_plus ^5.0.1 5.0.1 8.3.0
path ^1.8.3 1.9.1 1.9.1
path_provider ^2.1.2 2.1.5 2.1.5
platform ^3.1.2 3.1.6 3.1.6
shared_preferences ^2.2.2 2.2.3 2.5.2
split_view ^3.2.1 3.2.1 3.2.1
sqflite ^2.3.0 2.4.2 2.4.2
synchronized ^3.1.0 3.3.1 3.3.1
uuid ^3.0.7 3.0.7 4.5.1
worker_manager ^6.3.1 6.3.2 7.2.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
dio_web_adapter - 1.1.1 2.1.1
equatable - 2.0.7 2.0.7
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
flutter_staggered_grid_view - 0.7.0 0.7.0
http_parser - 4.1.2 4.1.2
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
package_info_plus_platform_interface - 2.0.1 3.2.0
path_provider_android - 2.2.16 2.2.16
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
plugin_platform_interface - 2.1.8 2.1.8
qs_dart - 1.3.3+1 1.3.3+1
recursive_regex - 1.0.0 1.0.0
shared_preferences_android - 2.4.8 2.4.8
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.2.2 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
sliver_tools - 0.2.12 0.2.12
source_span - 1.10.1 1.10.1
sqflite_android - 2.4.1 2.4.1
sqflite_common - 2.5.5 2.5.5
sqflite_darwin - 2.4.2 2.4.2
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
weak_map - 4.0.1 4.0.1
web - 0.4.2 1.1.1
win32 - 5.12.0 5.12.0
xdg_directories - 1.1.0 1.1.0

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

Found 8 issues. Showing the first 2:

The constraint `^7.0.10` on chopper does not support the stable version `8.0.0`.

Try running dart pub upgrade --major-versions chopper to update the constraint.

The constraint `^4.0.0` on infinite_scroll_pagination does not support the stable version `5.0.0`, that was published 23 days ago.

When infinite_scroll_pagination is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions infinite_scroll_pagination to update the constraint.

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 1 error:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/cr_logger.dart:155:42 - The argument type 'CardThemeData' can't be assigned to the parameter type 'CardTheme'.

Run flutter pub downgrade and then flutter 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.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jun 23Jul 21Aug 18Sep 15Oct 13Nov 10Dec 8Jan 5Feb 2Mar 2020406080100120140160>=0.0.0-0 <1.0.0>=1.0.0-0 <2.0.0>=2.0.0-0 <3.0.0