improved consistency in argument handling, introduction of dpm_con (not everything needs to be in the log)

This commit is contained in:
Chris Punches
2025-03-26 01:10:18 -04:00
parent b8ee0f9eff
commit 1d34a62e38
12 changed files with 288 additions and 174 deletions

View File

@@ -77,6 +77,18 @@ public:
*/
void log(LoggingLevels log_level, const std::string& message);
/**
* @brief Logs a message to console only
*
* Writes a log message only to the console, skipping any file logging.
* Messages with levels FATAL, ERROR, or WARN are written to stderr,
* while others go to stdout.
*
* @param level The severity level of the message
* @param message The message to log
*/
void log_console(LoggingLevels level, const std::string& message);
/**
* @brief Sets the log file path
*