private static bool HandleException(Exception exception) { var message = exception.ToString(); NativeLogger.Error(message); return(Error(message)); }
public static bool set_logger(void *log) { try { NativeLogger.SetLogFunction(log); return(true); } catch (Exception exception) { Error(exception.ToString()); return(false); } }