Log

Functions

void binocle_log_error(const char *msg, ...)

Logs an error.

Parameters:
  • msg – The message to log

  • ... – The parameters, if any

void binocle_log_warning(const char *msg, ...)

Logs a warning.

Parameters:
  • msg – The message to log

  • ... – The parameters, if any

void binocle_log_info(const char *msg, ...)

Logs an information message.

Parameters:
  • msg – The message to log

  • ... – The parameters, if any

void binocle_log_debug(const char *msg, ...)

Logs a debug message.

Parameters:
  • msg – The message to log

  • ... – The parameters, if any

void binocle_log_ensure_buffer_is_set()

Ensures that the buffer used to temporarily hold the formatted message is available.