Goal
Implement a unified, high-performance logging system for the Volta Agent using the spdlog library. This system will replace legacy print statements, providing better diagnostic capabilities through log levels, structured formatting, and configurable outputs (stderr/file).
Acceptance criteria
🛠️ Sub-tasks & Scope of work
Deliverables
Goal
Implement a unified, high-performance logging system for the Volta Agent using the
spdloglibrary. This system will replace legacy print statements, providing better diagnostic capabilities through log levels, structured formatting, and configurable outputs (stderr/file).Acceptance criteria
spdlog); nostd::cerr,printf, orfprintfremain in production code.INFO.stderrby default, with an optional output to a file featuring a 10 MB rotation policy.WARNlevel does not outputDEBUGmessages) and format compliance.🛠️ Sub-tasks & Scope of work
spdloglibrary viavcpkg. [cite_start]Define the supported log levels (TRACE, DEBUG, INFO, WARN, ERROR) and link the minimum log level to the runtime configuration mechanism from [Agent] Implement runtime configuration mechanism (CLI args & Env vars) #18.[YYYY-MM-DD HH:MM:SS.mmm] [LEVEL] [module] message. [cite_start]Configure sinks forstderrand an optional file sink with a 10 MB rotation limit.std::cerr,fprintf, andprintfacross all agent modules with appropriatespdlogcalls, ensuring correct level assignment and module tagging.Deliverables