Example #1
0
 public static void warn(String message, Throwable error) {
   if (log_level.value() <= Log.Level.WARN.value()) {
     error.printStackTrace();
     Dialog.show("Warn", message + "\n", "OK", "Cancel");
   }
 }
Example #2
0
 public static void warn(String message) {
   if (log_level.value() <= Log.Level.WARN.value()) {
     Dialog.show("Warn", message + "\n", "OK", "Cancel");
   }
 }