233234235236237238239240241242243244245246
// //-------------------------------------------------------------------------- public static int errorCount() { Logger l = logger.get(); if (l != null) { return l.errorCount(); } else { return 0; }
246247248249250251252253254255256257258259
} } public static int warningCount() { Logger l = logger.get(); if (l != null) { return l.warningCount(); } else { return 0; }
259260261262263264265266267268269270271272
} } public static void logInfo(String info) { Logger l = logger.get(); if (l != null) { l.logInfo(info); } else { System.out.println(info); }
272273274275276277278279280281282283284285
} } public static void logDebug(String debug) { Logger l = logger.get(); if (l != null) { l.logDebug(debug); } else { System.err.println(debug); }
285286287288289290291292293294295296297298
} } public static void logWarning(String warning) { Logger l = logger.get(); if (l != null) { l.logWarning(warning); } else { System.err.println(warning); }
298299300301302303304305306307308309310311
} } public static void logError(String error) { Logger l = logger.get(); if (l != null) { l.logError(error); } else { System.err.println(error); }
311312313314315316317318319320321322323324
} } public static void logInfo(String path, String info) { Logger l = logger.get(); if (l != null) { l.logInfo(path, info); } else { System.out.println(path + ":" + info); }
324325326327328329330331332333334335336337
} } public static void logDebug(String path, String debug) { Logger l = logger.get(); if (l != null) { l.logDebug(path, debug); } else { System.err.println(path + ":" + debug); }
337338339340341342343344345346347348349350
} } public static void logWarning(String path, String warning) { Logger l = logger.get(); if (l != null) { l.logWarning(path, warning); } else { System.err.println(path + ":" + warning); }
350351352353354355356357358359360361362363
} } public static void logWarning(String path, String warning, int errorCode) { Logger l = logger.get(); if (l != null) { l.logWarning(path, warning, errorCode); } else { System.err.println(path + ":" + warning); }