ENG-10963 feat(log): add stdlib logging pipeline in reflex_base.utils.log (1/5)
Merged
FA
3mo ago+1544+1544+0123456789012345678901234567890123456789-63-63-01234567890123456789
Adds reflex_base.utils.log: a standard python logging pipeline with a rich-rendering console handler (legacy colors preserved), a JSON-lines handler behind REFLEX_LOG_JSON, record deduplication, and file logging.
LogLevelgains a correct total ordering (thestrmixin compared alphabetically, so--loglevel criticalprinted the system-info banner) andto_logging_level().console.set_log_leveldelegates into the pipeline;print/rule/status/progressrespect JSON mode;print_tableadded.import reflexbootstraps the reflex-owned loggers (sinks attach lazily on the first record).- No call sites are migrated yet — that happens in PRs 2-4.
Stack (ENG-10963)
this → #6864 → #6865 → #6866 → #6867.
Merge in order; each PR is based on the previous branch.