Function ziAPIWriteDebugLog#

void ziAPIWriteDebugLog(int32_t severity, const char *message)#

Write a message to ziAPI’s log with the specified severity.

This function may be used to write a message to ziAPI’s log from client code to assist with debugging. Note, logging must be first enabled using ziAPISetDebugLevel.

  • severity[in] An integer specifying the severity of the message to write in the log:

    • trace: 0,

    • debug: 1,

    • info: 2,

    • status: 3,

    • warning: 4,

    • error: 5,

    • fatal: 6,

  • message[in] A character array comprising of the message to be written.