Provides a thin wrapper over the Java API ServerAPI.logError(). To better understand the function, please consult that API directly.
WmContext *con
- WmContext created during service invocation.
const char *msg
- Error message needs to be logged.
jint
- The log call status. If success return 1 otherwise return 0.