public static Logger getLog() { initialized(); return LOG; }
/** * Get the root logger. * @return the root logger */ public static Logger getRootLogger() { initialized(); return LOG; }
/** * Obtain a named Logger or the default Logger if null is passed. * @param name the Logger name * @return the Logger with the given name */ public static Logger getLogger(String name) { initialized(); if(name==null) return LOG; Logger logger = __loggers.get(name); if(logger==null) logger = LOG.getLogger(name); return logger; }
/** * Get the root logger. * @return the root logger */ public static Logger getRootLogger() { initialized(); return LOG; }
/** * @deprecated anonymous logging is deprecated, use a named {@link Logger} obtained from {@link #getLogger(String)} */ @Deprecated public static void debug(String msg, Object arg) { if (!initialized()) return; LOG.debug(msg, arg); }
/** * @deprecated anonymous logging is deprecated, use a named {@link Logger} obtained from {@link #getLogger(String)} */ @Deprecated public static void debug(String msg, Object arg0, Object arg1) { if (!initialized()) return; LOG.debug(msg, arg0, arg1); }
/** * @deprecated anonymous logging is deprecated, use a named {@link Logger} obtained from {@link #getLogger(String)} */ @Deprecated public static void ignore(Throwable thrown) { if (!initialized()) return; LOG.ignore(thrown); }
/** * @deprecated anonymous logging is deprecated, use a named {@link Logger} obtained from {@link #getLogger(String)} */ @Deprecated public static void debug(String msg) { if (!initialized()) return; LOG.debug(msg); }
/** * @deprecated anonymous logging is deprecated, use a named {@link Logger} obtained from {@link #getLogger(String)} */ @Deprecated public static void info(String msg, Object arg0, Object arg1) { if (!initialized()) return; LOG.info(msg, arg0, arg1); }
/** * @deprecated anonymous logging is deprecated, use a named {@link Logger} obtained from {@link #getLogger(String)} */ @Deprecated public static boolean isDebugEnabled() { if (!initialized()) return false; return LOG.isDebugEnabled(); }
/** * @deprecated anonymous logging is deprecated, use a named {@link Logger} obtained from {@link #getLogger(String)} */ @Deprecated public static void warn(String msg, Throwable th) { if (!initialized()) return; LOG.warn(msg, th); }
/** * @deprecated anonymous logging is deprecated, use a named {@link Logger} obtained from {@link #getLogger(String)} */ @Deprecated public static void warn(Throwable th) { if (!initialized()) return; LOG.warn(EXCEPTION, th); }
/** * @deprecated anonymous logging is deprecated, use a named {@link Logger} obtained from {@link #getLogger(String)} */ @Deprecated public static void info(String msg) { if (!initialized()) return; LOG.info(msg); }
/** * @deprecated anonymous logging is deprecated, use a named {@link Logger} obtained from {@link #getLogger(String)} */ @Deprecated public static void warn(String msg, Object arg0, Object arg1) { if (!initialized()) return; LOG.warn(msg, arg0, arg1); }
/** * @deprecated anonymous logging is deprecated, use a named {@link Logger} obtained from {@link #getLogger(String)} */ @Deprecated public static void info(String msg, Object arg0, Object arg1) { if (!initialized()) return; LOG.info(msg, arg0, arg1); }
/** * @deprecated anonymous logging is deprecated, use a named {@link Logger} obtained from {@link #getLogger(String)} */ @Deprecated public static void warn(String msg) { if (!initialized()) return; LOG.warn(msg); }
/** * @deprecated anonymous logging is deprecated, use a named {@link Logger} obtained from {@link #getLogger(String)} */ @Deprecated public static void warn(String msg, Object arg0, Object arg1) { if (!initialized()) return; LOG.warn(msg, arg0, arg1); }
/** * @deprecated anonymous logging is deprecated, use a named {@link Logger} obtained from {@link #getLogger(String)} */ @Deprecated public static void debug(String msg) { if (!initialized()) return; LOG.debug(msg); }
/** * @deprecated anonymous logging is deprecated, use a named {@link Logger} obtained from {@link #getLogger(String)} */ @Deprecated public static void debug(String msg, Object arg0, Object arg1) { if (!initialized()) return; LOG.debug(msg, arg0, arg1); }
/** * @deprecated anonymous logging is deprecated, use a named {@link Logger} obtained from {@link #getLogger(String)} */ @Deprecated public static void warn(Throwable th) { if (!initialized()) return; LOG.warn(EXCEPTION, th); }