pd_log 0.1.0 copy "pd_log: ^0.1.0" to clipboard
pd_log: ^0.1.0 copied to clipboard

Cross-platform logging plugin for Flutter with buffered native file logging.

0.1.0 — 首个公开测试版本 #

发布日期:2025-10-10

新增

  • 提供跨平台统一日志 API:PDLog.v/d/i/w/e、标签与时间戳支持、可选调用者信息。
  • 原生文件日志缓冲:支持按时间与缓冲阈值触发刷新,减少频繁磁盘写入。
  • 日志文件管理:枚举日志文件、统计总大小、删除单个或全部日志。
  • 平台支持:Android / iOS / macOS / Windows / Linux / Web。

改进

  • Dart 端字符串拼接优化,提升可读性与微小性能(lib/pd_log.dart)。
  • iOS/macOS 原生并发修复:移除同队列同步阻塞风险,失败回填与重试逻辑更稳健。
  • Linux 原生调度修复:避免在持锁情况下重复调用导致潜在死锁。

文档

  • 新增 README,完善功能说明、安装指南、使用方法与示例代码。
  • 新增 MIT LICENSE。
3
likes
0
points
54
downloads

Publisher

unverified uploader

Weekly Downloads

Cross-platform logging plugin for Flutter with buffered native file logging.

Repository

License

unknown (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface

More

Packages that depend on pd_log

Packages that implement pd_log