devtools library

Optional observability tools: structured logging, correlation IDs, metrics, effect logging and the debug overlay.

JObserver itself is part of package:jintent/jintent.dart.

Classes

CorrelationContext
Manages correlation IDs for tracking operations across the application.
DevToolsEvent
JDevToolsOverlay
DevTools overlay widget that visualizes JIntent operations in real-time.
JEffectsLogger
Logger for JEffects, providing debug output for emitted and completed effects. This is useful for development and debugging purposes, especially when tracking the flow of effects in the application. To enable logging, call JEffectsLogger.attach during app initialization.
JMetrics
Metrics collection framework for JIntent.
JObserver
JObserver is a centralized observability utility to track lifecycle events in the JIntent architecture.
JObserverDelegate
Composable observer for the JIntent lifecycle.
JStructuredLogger
Structured logger that outputs JSON-formatted log messages.
Metric
A single metric measurement.

Enums

EventType
LogLevel
Log levels for structured logging.
MetricType
Metric types supported by JMetrics.

Functions

enableLoggingObserver() → void Function()
Enables a simple logging observer for debugging purposes.