Feature#

Abstract#

The logging feature provides a standardized logging framework for C++ and Rust projects using Bazel build system.

For the main feature description and requirements, see the belonging Feature in the project repository.

Change Request (CR) Guidelines#

New contributors to the logging feature should start with the feature architecture to understand the split between the mw::log frontend (owned by score_baselibs) and the mw::log backend recorders implemented in this repository, and how datarouter fits into the remote/DLT path.

Adding or integrating a backend (file, slog, remote/DLT, or a custom recorder) means implementing the Recorder interface and registering it in the static backend_table; the existing C ABI seam is not used for static composition, and runtime plugin loading is experimental and not supported for production use. The Logging Architecture and mw::log Backend Detailed Design sections document this contract in detail, while the Requirements and the safety analyses below capture the safety and security constraints that any backend implementation must respect.