layrz_logging 1.0.13 copy "layrz_logging: ^1.0.13" to clipboard
layrz_logging: ^1.0.13 copied to clipboard

Logging handler for Layrz apps

0
likes
110/ 160
pub points
686
downloads

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

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

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 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
0 / 20trigger folding of the section

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

2 out of 27 API elements (7.4 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: layrz_logging, layrz_logging.LayrzLogging, layrz_logging.LayrzLogging.LayrzLogging, layrz_logging.LayrzLogging.clean, layrz_logging.LayrzLogging.critical.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ 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:layrz_logging/layrz_logging.dart that imports:
  • package:layrz_logging/src/preview.dart that imports:
  • package:layrz_theme/layrz_theme.dart that imports:
  • package:layrz_theme/src/table/table.dart that imports:
  • package:layrz_theme/src/theme/theme.dart that imports:
  • package:layrz_theme/src/helpers/helpers.dart that imports:
  • package:layrz_theme/src/helpers/src/pick_file/native.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:layrz_logging/layrz_logging.dart that imports:
  • package:layrz_logging/src/preview.dart that imports:
  • package:layrz_theme/layrz_theme.dart that imports:
  • package:layrz_theme/src/table/table.dart that imports:
  • package:layrz_theme/src/theme/theme.dart that imports:
  • package:layrz_theme/src/helpers/helpers.dart that imports:
  • package:layrz_theme/src/helpers/src/pick_file/native.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:layrz_logging/layrz_logging.dart that imports:
  • package:layrz_logging/src/preview.dart that imports:
  • package:layrz_theme/layrz_theme.dart that imports:
  • package:layrz_theme/src/table/table.dart that imports:
  • package:layrz_theme/src/scaffolds/scaffolds.dart that imports:
  • package:layrz_theme/src/inputs/inputs.dart that imports:
  • package:pointer_interceptor/pointer_interceptor.dart that declares support for platforms: iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:layrz_logging/layrz_logging.dart that imports:
  • package:layrz_logging/src/preview.dart that imports:
  • package:layrz_theme/layrz_theme.dart that imports:
  • package:layrz_theme/src/table/table.dart that imports:
  • package:layrz_theme/src/theme/theme.dart that imports:
  • package:layrz_theme/src/helpers/helpers.dart that imports:
  • package:layrz_theme/src/helpers/src/pick_file/native.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `macOS`.

Because:

  • package:layrz_logging/layrz_logging.dart that imports:
  • package:layrz_logging/src/preview.dart that imports:
  • package:layrz_theme/layrz_theme.dart that imports:
  • package:layrz_theme/src/table/table.dart that imports:
  • package:layrz_theme/src/theme/theme.dart that imports:
  • package:layrz_theme/src/helpers/helpers.dart that imports:
  • package:layrz_theme/src/helpers/src/pick_file/native.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package not compatible with platform Web

Because:

  • package:layrz_logging/layrz_logging.dart that imports:
  • package:layrz_logging/src/preview.dart that imports:
  • package:layrz_theme/layrz_theme.dart that imports:
  • package:layrz_theme/src/map/map.dart that imports:
  • package:flutter_map_cancellable_tile_provider/flutter_map_cancellable_tile_provider.dart that imports:
  • package:flutter_map_cancellable_tile_provider/src/tile_provider.dart that imports:
  • package:flutter_map_cancellable_tile_provider/src/image_provider.dart that imports:
  • package:flutter_map/flutter_map.dart that imports:
  • package:flutter_map/src/map/widget.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:layrz_logging/layrz_logging.dart that imports:
  • package:layrz_logging/src/preview.dart that imports:
  • package:layrz_theme/layrz_theme.dart that imports:
  • package:layrz_theme/src/map/map.dart that imports:
  • package:flutter_map_cancellable_tile_provider/flutter_map_cancellable_tile_provider.dart that imports:
  • package:flutter_map_cancellable_tile_provider/src/tile_provider.dart that imports:
  • package:flutter_map_cancellable_tile_provider/src/image_provider.dart that imports:
  • package:flutter_map/flutter_map.dart that imports:
  • package:flutter_map/src/map/widget.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

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.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

WARNING: This default clause is covered by the previous cases.

lib/src/models.dart:39:7

   ╷
39 │       default:
   │       ^^^^^^^
   ╵

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

/tmp/pana_ATCLWI/lib/layrz_logging.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
layrz_models ^3.2.36 3.3.15 3.3.15
layrz_theme ^7.0.2 7.1.10 7.1.10
material_design_icons_flutter any 7.0.7296 7.0.7296
path_provider ^2.1.4 2.1.5 2.1.5
permission_handler ^11.3.1 11.3.1 11.3.1
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
code_text_field - 1.1.0 1.1.0
collection - 1.19.0 1.19.1
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
dart_earcut - 1.1.0 1.1.0
dio - 5.7.0 5.7.0
dio_web_adapter - 2.0.0 2.0.0
emojis - 0.9.9 0.9.9
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
file_picker - 8.1.6 8.1.6
flex_color_picker - 3.6.0 3.6.0
flex_seed_scheme - 3.4.1 3.4.1
flutter_highlight - 0.7.0 0.7.0
flutter_map - 7.0.2 7.0.2
flutter_map_cancellable_tile_provider - 3.0.2 3.0.2
flutter_plugin_android_lifecycle - 2.0.24 2.0.24
flutter_svg - 2.0.16 2.0.16
flutter_web_plugins - 0.0.0 0.0.0
font_awesome_flutter - 10.8.0 10.8.0
freezed_annotation - 2.4.4 2.4.4
google_fonts - 6.2.1 6.2.1
highlight - 0.7.0 0.7.0
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
iconsax_plus - 1.0.0 1.0.0
intl - 0.19.0 0.20.1
ionicons - 0.2.2 0.2.2
json_annotation - 4.9.0 4.9.0
latlong2 - 0.9.1 0.9.1
layrz_icons - 1.0.5 1.0.5
linked_scroll_controller - 0.2.0 0.2.0
lists - 1.0.1 1.0.1
logger - 2.5.0 2.5.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mgrs_dart - 2.0.0 2.0.0
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
path_provider_android - 2.2.15 2.2.15
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
permission_handler_android - 12.0.13 12.0.13
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.2.3 4.2.3
permission_handler_windows - 0.2.1 0.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pointer_interceptor - 0.10.1+2 0.10.1+2
pointer_interceptor_ios - 0.10.1 0.10.1
pointer_interceptor_platform_interface - 0.10.0+1 0.10.0+1
pointer_interceptor_web - 0.10.2+1 0.10.2+1
polylabel - 1.0.1 1.0.1
proj4dart - 2.1.0 2.1.0
recase - 4.1.0 4.1.0
shared_preferences - 2.3.4 2.3.4
shared_preferences_android - 2.4.0 2.4.0
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.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
simple_shadow - 0.3.1 0.3.1
sky_engine - 0.0.0 0.0.0
solar_icons - 0.0.5 0.0.5
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
sync_scroll_controller - 1.0.1 1.0.1
term_glyph - 1.2.2 1.2.2
two_dimensional_scrollables - 0.3.3 0.3.3
typed_data - 1.4.0 1.4.0
unicode - 0.3.1 0.3.1
url_launcher - 6.3.1 6.3.1
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
vector_graphics - 1.1.15 1.1.15
vector_graphics_codec - 1.1.12 1.1.12
vector_graphics_compiler - 1.1.16 1.1.16
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
win32 - 5.9.0 5.9.0
wkt_parser - 2.0.0 2.0.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.