Assumes local file data and central directory entries are identical - unless told the opposite.
363364365366367368369370371372373374375376
} } public static void logError(String path, String error) { Logger l = logger.get(); if (l != null) { l.logError(path, error); } else { System.err.println(path + ":" + error); }
376377378379380381382383384385386387388389
} } public static void logError(String path, String error, int errorCode) { Logger l = logger.get(); if (l != null) { l.logError(path, error, errorCode); } else { System.err.println(path + ":" + error); }
389390391392393394395396397398399400401402
} } public static void logInfo(String path, int line, String info) { Logger l = logger.get(); if (l != null) { l.logInfo(path, line, info); } else { System.out.println(path + ": line " + line + " - " + info); }
402403404405406407408409410411412413414415
} } public static void logDebug(String path, int line, String debug) { Logger l = logger.get(); if (l != null) { l.logDebug(path, line, debug); } else { System.err.println(path + ": line " + line + " - " + debug); }
415416417418419420421422423424425426427428
} } public static void logWarning(String path, int line, String warning) { Logger l = logger.get(); if (l != null) { l.logWarning(path, line, warning); } else { System.err.println(path + ": line " + line + " - " + warning); }
428429430431432433434435436437438439440441
} } public static void logError(String path, int line, String error) { Logger l = logger.get(); if (l != null) { l.logError(path, line, error); } else { System.err.println(path + ": line " + line + " - " + error); }
441442443444445446447448449450451452453454
} } public static void logInfo(String path, int line, int col, String info) { Logger l = logger.get(); if (l != null) { l.logInfo(path, line, col, info); } else { System.out.println(path + ": line " + line + ", col " + col + " - " + info); }
454455456457458459460461462463464465466467
} } public static void logDebug(String path, int line, int col, String debug) { Logger l = logger.get(); if (l != null) { l.logDebug(path, line, col, debug); } else { System.err.println(path + ": line " + line + ", col " + col + " - " + debug); }
467468469470471472473474475476477478479480
} } public static void logWarning(String path, int line, int col, String warning) { Logger l = logger.get(); if (l != null) { l.logWarning(path, line, col, warning); } else { System.err.println(path + ": line " + line + ", col " + col + " - " + warning); }
480481482483484485486487488489490491492493
} } public static void logError(String path, int line, int col, String error) { Logger l = logger.get(); if (l != null) { l.logError(path, line, col, error); } else { System.err.println(path + ": line " + line + ", col " + col + " - " + error); }