Files
Aislo/B05_Profile/B05_Profile_Debug.py
T
eomsangdonandClaude Fable 5 54954a05e5 refactor(B05,B06): B05_wf2_Route -> B05_Profile, B06_wf3_ProfileCross -> B06_Section 동시 개명
- 한몸으로 동작하는 두 페이지라 한 커밋으로 처리 (상호 참조 다수)
- B05 37파일 + B06 20파일 접두사 개명 (git mv, 이력 보존)
- 참조 치환 91파일: import 경로, 라우트 슬러그(b05-profile/b06-section),
  라우트 키(B05_PROFILE/B06_SECTION), B03 자동 체인, storage 상수, pyproject 제외 경로
- 로직 변경 없음. typecheck·백엔드 import 검증 통과

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-08 10:03:11 +09:00

19 lines
461 B
Python

"""B05 DEBUG 모드 전용 구조화 로그."""
import json
import logging
from typing import Any
from config.config_system import DEBUG
def log_b05_debug(logger: logging.Logger, event: str, **payload: Any) -> None:
"""DEBUG=True일 때만 B05 계산·DB 저장 정보를 출력한다."""
if not DEBUG:
return
logger.info(
"[B05 DEBUG] %s | %s",
event,
json.dumps(payload, ensure_ascii=False, default=str),
)