pd_log 0.8.0
pd_log: ^0.8.0 copied to clipboard
使用纯Dart进行跨平台Flutter日志记录;缓冲文件写入;无平台通道。
We analyzed this package 2 days ago, and awarded it 130 pub points (of a possible 160):
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.
The package description contains too many non-ASCII characters.
The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.
0/5 points: Provide a valid README.md
`README.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
95 out of 137 API elements (69.3 %) have documentation comments.
Some symbols that are missing documentation: pd_log.ListOptions.ListOptions.new, pd_log.ListOptions.by, pd_log.ListOptions.direction, pd_log.ListOptions.page, pd_log.ListOptions.pageSize.
10/10 points: Package has an example
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:pd_log/pd_log.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: Dangling library doc comment.
lib/pd_log.dart:1:1
╷
1 │ /// pd_log 的核心 Dart API:统一日志输出、平台桥接与日志文件查询。
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/pd_log.dart
INFO: Dangling library doc comment.
lib/src/file_watchers.dart:1:1
╷
1 │ /// 条件导出:在移动/桌面平台使用 IO watcher 实现,Web 使用空实现。
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/file_watchers.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
path_provider |
^2.1.2 |
2.1.5 | 2.1.5 | |
stack_trace |
^1.11.0 |
1.12.1 | 1.12.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
ffi |
- | 2.1.5 | 2.1.5 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.5.1 | 2.5.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 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
xdg_directories |
- | 1.1.0 | 1.1.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.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.