tom_basics 1.0.1
tom_basics: ^1.0.1 copied to clipboard
Basic utilities for the TOM framework including exception handling with UUID tracking.
1.0.1 #
- Fixed
TomLoggerpush/pop log-level stack to proper LIFO semantics (RCE6).popLogLevel()previously removed the front of the level stack (removeAt(0)) rather than the most recently pushed level, so it could not restore the pre-push level; and the current level was tracked in a separate_logLevelfield that could diverge from the stack. The stack top is now the single source of truth:logLevelis a getter returning_levelStack.last,setLogLevelreplaces the top in place,pushLogLevelappends, andpopLogLevelusesremoveLast()(guarded so the base level is never popped).setLogLevelByName('info'); pushLogLevel(trace); popLogLevel()now correctly restoresinfo, and nested push/pop unwinds in LIFO order. No back-compat shim — the buggy front-removal behaviour is gone.
1.0.0 #
- Initial version.