app_logger 0.0.6 copy "app_logger: ^0.0.6" to clipboard
app_logger: ^0.0.6 copied to clipboard

Log all Http request and Navigation.

110/ 160
pub points
94
downloads

We analyzed this package 22 hours ago, and awarded it 110 pub points (of a possible 160):

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

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

28 out of 55 API elements (50.9 %) have documentation comments.

Some symbols that are missing documentation: app_logger, app_logger.AppLogger, app_logger.AppLogger.init, app_logger.AppLogger.instance, app_logger.AppLoggerCallBack.

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:app_logger/app_logger.dart that imports:
  • package:app_logger/src/model/log_model.dart that imports:
  • package:background_json_parser/background_json_parser.dart that imports:
  • dart:isolate

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:app_logger/app_logger.dart that imports:
  • package:app_logger/src/app_logger.dart that imports:
  • package:app_logger/src/logger/exception_logger.dart that imports:
  • package:app_logger/src/app_info/app_info.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:app_logger/app_logger.dart that imports:
  • package:app_logger/src/app_logger.dart that imports:
  • package:app_logger/src/logger/exception_logger.dart that imports:
  • package:app_logger/src/app_info/app_info.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 `Linux`.

Because:

  • package:app_logger/app_logger.dart that imports:
  • package:app_logger/src/app_logger.dart that imports:
  • package:app_logger/src/logger/exception_logger.dart that imports:
  • package:app_logger/src/app_info/app_info.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 `macOS`.

Because:

  • package:app_logger/app_logger.dart that imports:
  • package:app_logger/src/app_logger.dart that imports:
  • package:app_logger/src/logger/exception_logger.dart that imports:
  • package:app_logger/src/app_info/app_info.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.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:app_logger/app_logger.dart that imports:
  • package:app_logger/src/model/log_model.dart that imports:
  • package:background_json_parser/background_json_parser.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 16 issues. Showing the first 2:

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

lib/src/cons/enum.dart:8:16

  ╷
8 │ enum LogType { API, NAV, ERR, APPERR, LOG, POSLOG }
  │                ^^^
  ╵

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

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

lib/src/cons/enum.dart:8:21

  ╷
8 │ enum LogType { API, NAV, ERR, APPERR, LOG, POSLOG }
  │                     ^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/cons/enum.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
background_json_parser any 1.0.7 1.0.7
device_info_plus ^11.3.3 11.5.0 12.2.0
dio ^5.8.0+1 5.9.0 5.9.0
package_info_plus ^8.3.0 8.3.1 9.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
device_info_plus_platform_interface - 7.0.3 7.0.3
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
mime - 2.0.0 2.0.0
package_info_plus_platform_interface - 3.2.1 3.2.1
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
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.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 5.15.0 5.15.0
win32_registry - 2.1.0 2.1.0

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

The constraint `^11.3.3` on device_info_plus does not support the stable version `12.0.0`.

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

The constraint `^8.3.0` on package_info_plus does not support the stable version `9.0.0`.

Try running dart pub upgrade --major-versions package_info_plus 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 10 errors:

  • UNDEFINED_METHOD - lib/src/logger/logger.dart:12:26 - The method 'convertToJson' isn't defined for the type 'LogModel'.
  • URI_DOES_NOT_EXIST - lib/src/model/exception_log_model.dart:1:8 - Target of URI doesn't exist: 'package:background_json_parser/background_json_parser.dart'.
  • EXTENDS_NON_CLASS - lib/src/model/exception_log_model.dart:6:33 - Classes can only extend other classes.

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.23.1, Flutter 3.35.7, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
110
points
94
downloads

Publisher

verified publishermustafaturkmen.dev

Weekly Downloads

Log all Http request and Navigation.

Documentation

API reference

License

MIT (license)

Dependencies

background_json_parser, device_info_plus, dio, flutter, package_info_plus

More

Packages that depend on app_logger