resultex_logger 1.1.1 copy "resultex_logger: ^1.1.1" to clipboard
resultex_logger: ^1.1.1 copied to clipboard

A lightweight, high-performance, and colorized logging system for Flutter and Dart built on top of native developer.log

Changelog #

All notable changes to this project will be documented in this file.

1.1.1 - 2026-07-02 #

  • Updated GitHub repository url
  • Updated environment sdk and flutter version

1.1.0 - 2026-07-01 #

Added #

  • Introduced strong-typed severity control via the new LogLevel enum (supporting numerical Syslog weights).
  • Added LogDetails data transfer object (DTO) to encapsulate metadata, payloads, errors, and stack traces.
  • Added environment-aware log level filtering with minLogLevel configuration to easily suppress diagnostic logs in production.
  • Unified Group Lifecycle Tracing: Enhanced the group() utility with an explicit, secure 🔻 END GROUP lifecycle marker to visually isolate scoped processes in console streams.

Changed #

  • Advanced Terminal UI Box-Enclosure: Upgraded error, critical, and warning log levels to automatically render inside fully enclosed, symmetric visual boxes for immediate error boundaries and scanning.
  • Symmetric Multi-line & Content Coloring: Rewrote the layout engine to calculate the maximum line length dynamically, ensuring internal text contents and vertical borders are uniformly colorized without breaking console layout.
  • Refactored for SOLID & Clean Architecture: Separated presentation layers by decoupling ANSI styling into a dedicated LoggerStyles class and abstracting layout behaviors into a solid LoggerFormatter contract strategy.
  • Enhanced Platform Compatibility (Linux/Desktop Color Fix): Routes logs to standard native print on desktop platforms to bypass a known Flutter issue where developer.log strips ANSI escape codes in Linux/Mac/Windows terminal streams, while seamlessly retaining developer.log for Web/WASM targets.
  • Seamless Structural Box Boundaries: Reworked the horizontal framing system to generate continuous, flush headers and footers using a single customizable lineSymbol, completely removing isolated distinct corner tokens.

Fixed #

  • Fixed code duplication (DRY principle violation) by unifying error and stack trace extraction flows under a centralized nested pipeline.
  • Monospace Grid Alignment & Escaped Padding: Fixed terminal layout misalignment where ANSI colors distorted length calculations by shifting to a 100% plain-text matrix calculation layer prior to code colorization.
  • Asymmetric Wall Overflow: Eliminated the multi-line right-wall drift caused by bulk multiline outputs by converting the formatter stream into an isolated List<String> layer, ensuring uniform prefix tag injection ([INFO], [ERROR]) across every independent stdout line.
  • Vertical Font Margins: Resolved the broken vertical alignment caused by the keyboard pipe character (|) by unifying side walls to share the exact same structural lineSymbol context as horizontal borders, avoiding font-rendering gaps.

1.0.0 - 2026-07-01 #

Added #

  • [Feature] Added ANSI colorized output support for terminal logs (✅ Color logs).
  • [Feature] Implemented full LogLevels support covering: info, verbose, warning, debug, error, critical, fine, and good.
  • Created native AppLogger implementation using Dart developer.log for full cross-platform and WASM compatibility.
  • Exported the core logger functionality via the main library entry point.

Changed #

  • Decoupled GetItConfiguration.init() from the AppLogger constructor to prevent circular dependencies.
  • Moved dependency injection initialization to the base lifecycle class (ResultexLoggerBase).
  • Marked the package as non-publishable (publish_to: 'none') to support local path dependencies.

In Progress (🚧 Under Development) #

  • 🚧 Logs grouping: Designing a structured API to visually group and nest related runtime operations.
  • 🚧 Collapsible feature for huge logs: Developing a smart multi-line block layout to handle massive payloads and stack traces cleanly.
2
likes
160
points
237
downloads

Documentation

API reference

Publisher

verified publishercodearastudio.ir

Weekly Downloads

A lightweight, high-performance, and colorized logging system for Flutter and Dart built on top of native developer.log

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

ansicolor, flutter, get_it

More

Packages that depend on resultex_logger