private void logNotice(SpecElement element, String attrib, String action) throws IOException { String tail = attrib + ": " + action; String msg = element.getTypeName() + " " + element.name + "." + tail; log.println("Notice: " + msg); System.err.println(msg); element.addIssue(tail); }
private void logNotice(SpecElement element, SpecProperty prop, String action) throws IOException { String msg = element.getTypeName() + " Property " + element.name + "." + prop.name + ": " + action; log.println("Notice: " + msg); System.err.println(msg); prop.addIssue(action); }
private void logMismatch(SpecElement element, String attrName, String specValue, String romValue) throws IOException { String action = attrName + ": \"" + specValue + "\" does not match rom.def value \"" + romValue + "\""; String msg = element.getTypeName() + " " + element.name + "." + action; log.println("Notice: " + msg); System.err.println(msg); element.addIssue(action); }
private void logUpdate(SpecElement element, SpecProperty prop, String attrName, String value) throws IOException { String msg = element.getTypeName() + " Property " + element.name + "." + prop.name + "." + attrName + ": Updated to " + value; log.println(msg); }
private void logUpdate(SpecElement element, String attrib, String value) throws IOException { String msg = element.getTypeName() + " " + element.name + "." + attrib + ": Updated to " + value; log.println(msg); }
private void logNotice(SpecElement element, String action) throws IOException { String msg = "Notice: " + element.getTypeName() + " " + element.name + ": " + action; log.println(msg); System.err.println(msg); element.addIssue(msg); }