Logging Engine¶
src/core/logging.py is adapted from the shared logger implementation used in
the sibling rl-engine project.
Key points:
configure_logging(...)andlog(...)mirror therl-enginedesign: one shared Loguru-backed manager, console/file filters, and file writes protected byfilelock.log(message, type=..., priority=..., exception=...)is the only logging call surface used by repository code. Named log types determine the file under the configured logs directory; the default islogs/app.log.- Callers that retain a local
loggername bind it directly tolog; they do not receive a standard-library-style logger object.