Logging Functions

group LoggingFunctions

This group consists of all the functions used for logging.

Functions

void LogInfo(const std::string &section, const std::string &log)

Logs data with level Info to the output stream in the format:

Parameters
  • section: The section from where the log is comming. Example - “Renderer::Rasterizer”, “Parser” etc.

  • log: The content of the log.

void LogWarning(const std::string &section, const std::string &log)

Logs data with level Warning to the output stream in the format:

Parameters
  • section: The section from where the log is comming. Example - “Renderer::Rasterizer”, “Parser” etc.

  • log: The content of the log.

void LogError(const std::string &section, const std::string &log)

Logs data with level Error to the output stream in the format:

Parameters
  • section: The section from where the log is comming. Example - “Renderer::Rasterizer”, “Parser” etc.

  • log: The content of the log.

void LogFatalError(const std::string &section, const std::string &log)

Logs data with level Error to the output stream in the format:and performs a SHRN_DEBUG_BREAK().

Parameters
  • section: The section from where the log is comming. Example - “Renderer::Rasterizer”, “Parser” etc.

  • log: The content of the log.