public static void addWarning(String str) {
        warningText.append(dateFormatter.format(cal.getTime()) + ": " + str + "\n");
        appendLineDelimiter(warningText);
        addToLog("[Warning] " + str);
    }