Types

void setDebug(Debug mode)

Sets the global debug mode configuration.

Parameters:

mode – The debug mode to be set, represented as a value of the Debug enum.

Debug getDebug()

Retrieves the current global debug mode configuration.

Returns:

The current debug mode as a value of the Debug enum.

void printDebugMessage(Debug mode, const std::string &message)

Prints a debug message if the specified debug mode is enabled.

Parameters:
  • mode – Debug mode to check against the global debug mode.

  • message – The message to be printed if the debug mode is enabled.