Function psyiage_event_report

Function Documentation

PSYIAGE_API int psyiage_event_report(psyiage_handle handle, psyiage_event_level level, char *source, int eventid, const char *message)

Report an event.

Record an event log into the current session.

Return

If successful, PSYIAGE_ERROR_SUCCESS. Otherwise, a non-zero error code

Parameters
  • handle: - A handle to the psyiage instance

  • level: - The severity level of the event

  • source: - Name of the source of the event

  • eventid: - Numeric ID of the event

  • message: - Description of the event