my_log 2.0.0 copy "my_log: ^2.0.0" to clipboard
my_log: ^2.0.0 copied to clipboard

Structured Flutter logging with redaction, rotating files, diagnostics, custom sinks, an in-app viewer, and a DevTools extension.

2.0.0 #

  • Add immutable MyLogConfig, structured MyLogEntry records, bounded history, live streams, session IDs, independent level thresholds, and tag allow/deny filters.
  • Add recursive secret redaction for structured values, Bearer credentials, and common credential or personal-data keys before dispatch to any destination.
  • Add JSON Lines and readable text file formats with size-based rotation, retention cleanup, bounded file count, periodic flush, and explicit lifecycle APIs.
  • Add custom async sinks, callback and memory sink implementations, ordered dispatch, and non-fatal sink error reporting.
  • Add optional Flutter framework and root-isolate error capture with safe restoration of previous handlers.
  • Add redacted diagnostics ZIP export with metadata, attachments, session logs, and current or rotated file logs.
  • Upgrade the in-app overlay with bounded buffers, structured tag/flag and multi-level filters, severity counters, capture pause, copy, clear, export, and standalone embedding support.
  • Add a packaged Flutter DevTools extension for live filtering, counts, copy, pause, refresh, and clear in debug sessions.
  • Preserve the 1.0.x setup and logging method signatures, including legacy text-file output, while documenting the modern migration path.
  • Expand core, file, lifecycle, diagnostics, error-handler, overlay, DevTools, compatibility, and example tests.

1.0.3+9 #

  • Require Dart 3.9+ and Flutter 3.35+; verify the package with Flutter 3.47.1 and Dart 3.13.1.
  • Upgrade logger to 2.7.0 and the recommended Flutter lint set to 6.0.0.
  • Keep console logging available on web and report a clear error when file logging is requested there.
  • Update the example to path_provider 2.1.6 and support console-only mode where file storage is unavailable.
  • Migrate the example to current Android Kotlin DSL, Java 17, iOS 15, macOS 12, UIScene, and Swift Package Manager templates.
  • Expand CI verification and exclude generated, build, coverage, and AI support files from the published archive.

1.0.2+8 #

  • Expand console log widget/screen coverage, including scroll, filter, save, and zoom clamp tests.
  • Add log utility tests (debugger hook, print fallback, file output flush, printTime output).
  • Refactor example logging setup for injectable platform/path resolution and add tests.

1.0.1+7 #

  • Add core/file/utilities tests and UI helper widget tests.
  • Add example widget tests and refresh example config.
  • Add docs and README updates; include Makefile.
  • Adjust console log ANSI parser constants for lint compliance.

1.0.0 #

  • Initial version.
4
likes
150
points
85
downloads
screenshot

Documentation

API reference

Publisher

verified publisherwongcoupon.com

Weekly Downloads

Structured Flutter logging with redaction, rotating files, diagnostics, custom sinks, an in-app viewer, and a DevTools extension.

Repository (GitHub)
View/report issues

Topics

#logging #color #save-file #popup-realtime-log #structured-logging

Funding

Consider supporting this project:

buymeacoffee.com
ko-fi.com

License

MIT (license)

Dependencies

archive, flutter, flutter_staggered_animations, gap, logger

More

Packages that depend on my_log