Module logging

Module logging 

Source
Expand description

Structured logging and tracing setup. Tracing configuration and log routing.

The application logs to stdout using a compact formatter, and optionally to a file. When RUSTY_MEM_LOG_FILE is set, logs are appended to that path; otherwise a file logger is created under logs/rusty-mem.log. A non‑blocking writer is used to minimize contention on hot paths.

Functions§

init_tracing
Configure tracing subscribers for stdout and optional file logging.