src/dazzle_back/runtime/logging.py¶
Generated: 2026-03-30T04:38:47.574042+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_back
Purpose¶
DNR Logging Infrastructure.
Provides unified logging for both backend and frontend, with: - LLM-friendly log format (structured, contextual, easily parseable) - Console output for human monitoring - File output to .dazzle/logs/ for LLM agents to monitor - Frontend error capture endpoint
Log Format...
Key Exports¶
ColorsJSONLFormatterConsoleFormattersetup_loggingget_loggerlog_with_contextget_backend_loggerget_frontend_loggerget_dev_loggerget_dazzle_loggerlog_frontend_entryget_log_dirget_log_fileget_recent_logsget_error_summaryclear_logsformatformatComponentFilterfilter
Dependencies¶
Imports¶
jsonloggingossysthreadingdatetime.datetimelogging.handlers.RotatingFileHandlerpathlib.Pathtyping.Any
Event Interactions¶
None detected.
Invariants and Assumptions¶
No invariants documented.
Tests¶
tests/integration/test_runtime_e2e.pytests/integration/test_runtime_pipeline.pytests/unit/test_runtime_test_routes.pytests/unit/test_runtime_services.pytests/unit/test_runtime_mcp_tools.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.