log_chain 1.0.0
log_chain: ^1.0.0 copied to clipboard
A Dart package for structured diagnostic log chains, allowing async and sync flows to be captured as branch snapshots, rendered as text, or exported as JSON.
1.0.0 #
- Initial release of
log_chain. - Added structured log branches for collecting diagnostic entries across async flows.
- Added
LogRoot,LogBranch,LogEntry, and immutableLogSnapshotmodels. - Added automatic branch closing with
asyncBranch. - Added
logWhenconditions to decide whether closed branches are gathered into the parent/root chain. - Added
LogTypemodes:logAsReceive,logOnClose, andlogNowAndThen. - Added snapshot rendering as branch/tree output with
toBranchString(). - Added snapshot rendering as flat timeline output with
toFlatTimeString(). - Added JSON export with
toJson()for later inspection in external tools. - Added output repositories for Dart developer log, console output, and JSON file export.