Skip to content

logging

anthony.samms edited this page May 28, 2026 · 1 revision

This document covers the logging system for the program.

void setup_logging(const std::string& log_level_str = "info");

This function must be called before using the logging system. the log_level_str can be these options:

  • debug
  • info
  • warning
  • error
  • critical

Logging can be used via the spdlog interface:

spdlog::info("")
spdlog::warn("")
spdlog::error("")
spdlog::critical("")
spdlog::debug("")

Clone this wiki locally