log_prism 0.0.1
log_prism: ^0.0.1 copied to clipboard
A Flutter debug logging library that provides non-blocking, lightweight logging with file persistence using Dart Isolates.
We analyzed this package 5 days ago, and awarded it 40 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
pubspec.yaml from the repository has no repository or homepage URL.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: log_prism, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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.
0/10 points: 20% or more of the public API has dartdoc comments
OUT:
Documenting log_prism...
Discovering libraries...
Linking elements...
Precaching local docs for 647600 elements...
Initialized dartdoc with 813 libraries
Generating docs for library log_prism.dart from package:log_prism/log_prism.dart...
Documented 1 public library in 46.5 seconds
ERR:
error: file already written at "log_prism/LogPrism/debug.html"
for symbol log_prism.LogPrism.debug: (file:///tmp/pana_BHETFU/lib/src/core/log_prism.dart:91:15)
conflicting with file already generated by log_prism.LogPrism.debug: (file:///tmp/pana_BHETFU/lib/src/core/log_prism.dart:103:8)
Dartdoc generates a path and filename to write to for each symbol.
'log_prism.LogPrism.debug' conflicts with another symbol in the
generated path, and therefore can not be written out. Changing the
name, library name, or class name (if appropriate) of one of the
conflicting items can resolve the conflict. Alternatively, use the
@nodoc directive in one symbol's documentation comment to hide it.
error: file already written at "log_prism/LogPrism/info.html"
[15 more lines]
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
ERROR: Class 'LogPrism' can't define static member 'debug' and have instance member 'LogPrism.debug' with the same name.
lib/src/core/log_prism.dart:91:15
╷
91 │ static void debug(String message, [String? tag]) =>
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/log_prism.dart
ERROR: Class 'LogPrism' can't define static member 'info' and have instance member 'LogPrism.info' with the same name.
lib/src/core/log_prism.dart:94:15
╷
94 │ static void info(String message, [String? tag]) =>
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/log_prism.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
path_provider |
^2.1.0 |
2.1.5 | 2.1.5 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
hooks |
- | 1.0.1 | 1.0.1 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
native_toolchain_c |
- | 0.17.4 | 0.17.4 | |
objective_c |
- | 9.3.0 | 9.3.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
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 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
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 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 4 errors:
CONFLICTING_STATIC_AND_INSTANCE-lib/src/core/log_prism.dart:91:15- Class 'LogPrism' can't define static member 'debug' and have instance member 'LogPrism.debug' with the same name.CONFLICTING_STATIC_AND_INSTANCE-lib/src/core/log_prism.dart:94:15- Class 'LogPrism' can't define static member 'info' and have instance member 'LogPrism.info' with the same name.CONFLICTING_STATIC_AND_INSTANCE-lib/src/core/log_prism.dart:97:15- Class 'LogPrism' can't define static member 'warning' and have instance member 'LogPrism.warning' with the same name.
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.10, Flutter 3.41.2, Dart 3.11.0.
Check the analysis log for details.