Function yasmin::set_loggers

Function Documentation

void yasmin::set_loggers(LogFunction error, LogFunction warn, LogFunction info, LogFunction debug)

Sets custom logging functions for different log levels.

This function allows the user to specify custom logging functions for error, warning, info, and debug logs. If a null function is provided for any log level, the default logging function will be used instead.

Parameters:
  • error – Pointer to the custom error logging function.

  • warn – Pointer to the custom warning logging function.

  • info – Pointer to the custom info logging function.

  • debug – Pointer to the custom debug logging function.