public static boolean assertTrue(String category, String message, boolean condition) {
    if (condition) return true;
    Logger.getInstance(category).error(message);
    return false;
  }
public static boolean assertTrue(String category, String message, boolean condition)