my_logger 1.0.1 copy "my_logger: ^1.0.1" to clipboard
my_logger: ^1.0.1 copied to clipboard

MyLogger provides quick & simple logging solution. All logs are saved to the DB which can be exported into files.

5
likes
110/ 140
pub points
82%
popularity

We analyzed this package 1 hour ago, and awarded it 110 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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.

partial
Provide documentation
10 / 20trigger folding of the section

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

23 out of 167 API elements (13.8 %) 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.

Some symbols that are missing documentation: config, config.LogConfig, config.LogConfig.LogConfig, config.LogConfig.defaultExportFile, config.LogConfig.stackTraceFormatter.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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 does not support platform `Web`.

Because:

  • package:my_logger/core/utils.dart that imports:
  • package:my_logger/models/config.dart that imports:
  • package:my_logger/logger.dart that imports:
  • package:my_logger/services/logs_exporter.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 18 issues. Showing the first 2:

INFO: 'describeEnum' is deprecated and shouldn't be used. Use the `name` getter on enums instead. This feature was deprecated after v3.14.0-2.0.pre.

lib/core/utils.dart:7:55

  ╷
7 │       value == null ? null : values.firstWhere((d) => describeEnum(d).toLowerCase() == value.toLowerCase());
  │                                                       ^^^^^^^^^^^^
  ╵

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

INFO: Use the generic function type syntax in 'typedef's.

lib/models/config.dart:4:17

  ╷
4 │ typedef String? StackTraceFormatter(StackTrace stackTrace);
  │                 ^^^^^^^^^^^^^^^^^^^
  ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/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
intl ^0.18.0 0.18.1 0.19.0
jinja ^0.5.0 0.5.0 0.6.0
meta ^1.8.0 1.11.0 1.15.0
path ^1.8.0 1.9.0 1.9.0
path_provider ^2.0.11 2.1.3 2.1.3
pointycastle ^3.7.3 3.9.1 3.9.1
sembast ^3.5.0+1 3.7.1 3.7.1
stack_trace ^1.11.0 1.11.1 1.11.1
xxtea ^2.1.0 2.1.0 2.1.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
ffi - 2.1.2 2.1.2
html_unescape - 2.0.0 2.0.0
js - 0.7.1 0.7.1
material_color_utilities - 0.8.0 0.11.1
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
synchronized - 3.1.0+1 3.1.0+1
term_glyph - 1.2.1 1.2.1
textwrap - 1.2.0 2.0.0
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
win32 - 5.5.0 5.5.0
xdg_directories - 1.0.4 1.0.4

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

The constraint `^0.18.0` on intl does not support the stable version `0.19.0`.

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

The constraint `^0.5.0` on jinja does not support the stable version `0.6.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.

5
likes
110
pub points
82%
popularity

Publisher

unverified uploader

MyLogger provides quick & simple logging solution. All logs are saved to the DB which can be exported into files.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, intl, jinja, meta, path, path_provider, pointycastle, sembast, stack_trace, xxtea

More

Packages that depend on my_logger