INNER CODE UNIT · Python

_stream_log_label

yihong1120/Construction-Hazard-Detection · main.py:400

    def _stream_log_label(cfg: StreamConfig) -> str:
        """Return a useful, non-secret stream label for lifecycle logs."""
        return (
            f"{cfg['site']}/{cfg['stream_name']}"
            f" ({MainApp._stream_process_key(cfg)})"
        )

    def _log_config_summary(
        self,
        configured_count: int,
        active_count: int,
        active_process_count: int | None = None,
    ) -> None:
        """Log configuration state changes without flooding each poll cycle."""
        summary = (
            configured_count,
            active_count,
            (

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…