Set the error logging mode

saf_setProps_ErrorLogging is a function defined in libprops.c.

Synopsis:

int saf_setProps_ErrorLogging(SAF_LibProps *properties, const char *mode)

Formal Arguments:

  • properties: The library property list which will be modified by this function (See *Properties*).
  • mode: The error logging mode.

Description: This library property controls how the library reports errors. See section on environment variables where the environment variable SAF__ERROR_REPORTING is described.

Preconditions:

  • properties must be a valid library properties handle. (low-cost)

Return Value: The constant SAF__SUCCESS is returned when this function is successful. Otherwise this function either returns an error number or throws an exception, depending on the value of the library’s error handling property.

See Also: