wmJNI.c
logWmServiceError


jint
logWmServiceError(
      WmContext *con,
      const char *msg)
Logs an error message to server's default log file. This is usually "error.log" in the server's logs directory.

Provides a thin wrapper over the Java API ServerAPI.logError(). To better understand the function, please consult that API directly.

Parameters:
WmContext *con - WmContext created during service invocation.
const char *msg - Error message needs to be logged.
Returns:
jint - The log call status. If success return 1 otherwise return 0.