Function rs2_log

Function Documentation

void rs2_log(rs2_log_severity severity, const char *message, rs2_error **error)

Add custom message into librealsense log

Parameters:
  • severity[in] The log level for the message to be written under

  • message[in] Message to be logged

  • error[out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored