public static void salLog(string logLevel, string msg) { StcIntCSharpPINVOKE.salLog(logLevel, msg); if (StcIntCSharpPINVOKE.SWIGPendingException.Pending) { throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve(); } }