Example #1
0
        private static bool HandleException(Exception exception)
        {
            var message = exception.ToString();

            NativeLogger.Error(message);
            return(Error(message));
        }
Example #2
0
 public static bool set_logger(void *log)
 {
     try
     {
         NativeLogger.SetLogFunction(log);
         return(true);
     }
     catch (Exception exception)
     {
         Error(exception.ToString());
         return(false);
     }
 }