/** * Creates a new logger instance with the specified name. */ public static InternalLogger getInstance(String name) { return getDefaultFactory().newInstance(name); }
/** * Creates a new logger instance with the specified name. */ public static InternalLogger getInstance(String name) { return getDefaultFactory().newInstance(name); }
/** * Creates a new logger instance with the specified name. */ public static InternalLogger getInstance(String name) { return getDefaultFactory().newInstance(name); }
@SuppressWarnings("UnusedCatchParameter") private static InternalLoggerFactory newDefaultFactory(String name) { InternalLoggerFactory f; try { f = new Slf4JLoggerFactory(true); f.newInstance(name).debug("Using SLF4J as the default logging framework"); } catch (Throwable ignore1) { try { f = Log4JLoggerFactory.INSTANCE; f.newInstance(name).debug("Using Log4J as the default logging framework"); } catch (Throwable ignore2) { try { f = Log4J2LoggerFactory.INSTANCE; f.newInstance(name).debug("Using Log4J2 as the default logging framework"); } catch (Throwable ignore3) { f = JdkLoggerFactory.INSTANCE; f.newInstance(name).debug("Using java.util.logging as the default logging framework"); } } } return f; }
@SuppressWarnings("UnusedCatchParameter") private static InternalLoggerFactory newDefaultFactory(String name) { InternalLoggerFactory f; try { f = new Slf4JLoggerFactory(true); f.newInstance(name).debug("Using SLF4J as the default logging framework"); } catch (Throwable ignore1) { try { f = Log4JLoggerFactory.INSTANCE; f.newInstance(name).debug("Using Log4J as the default logging framework"); } catch (Throwable ignore2) { try { f = Log4J2LoggerFactory.INSTANCE; f.newInstance(name).debug("Using Log4J2 as the default logging framework"); } catch (Throwable ignore3) { f = JdkLoggerFactory.INSTANCE; f.newInstance(name).debug("Using java.util.logging as the default logging framework"); } } } return f; }
@SuppressWarnings("UnusedCatchParameter") private static InternalLoggerFactory newDefaultFactory(String name) { InternalLoggerFactory f; try { f = new Slf4JLoggerFactory(true); f.newInstance(name).debug("Using SLF4J as the default logging framework"); } catch (Throwable ignore1) { try { f = Log4JLoggerFactory.INSTANCE; f.newInstance(name).debug("Using Log4J as the default logging framework"); } catch (Throwable ignore2) { try { f = Log4J2LoggerFactory.INSTANCE; f.newInstance(name).debug("Using Log4J2 as the default logging framework"); } catch (Throwable ignore3) { f = JdkLoggerFactory.INSTANCE; f.newInstance(name).debug("Using java.util.logging as the default logging framework"); } } } return f; }
/** * Creates a new logger instance with the specified name. */ public static InternalLogger getInstance(String name) { return getDefaultFactory().newInstance(name); }
@SuppressWarnings("UnusedCatchParameter") private static InternalLoggerFactory newDefaultFactory(String name) { InternalLoggerFactory f; try { f = new Slf4JLoggerFactory(true); f.newInstance(name).debug("Using SLF4J as the default logging framework"); } catch (Throwable ignore1) { try { f = Log4JLoggerFactory.INSTANCE; f.newInstance(name).debug("Using Log4J as the default logging framework"); } catch (Throwable ignore2) { try { f = Log4J2LoggerFactory.INSTANCE; f.newInstance(name).debug("Using Log4J2 as the default logging framework"); } catch (Throwable ignore3) { f = JdkLoggerFactory.INSTANCE; f.newInstance(name).debug("Using java.util.logging as the default logging framework"); } } } return f; }
/** * Creates a new logger instance with the specified name. */ public static InternalLogger getInstance(String name) { return getDefaultFactory().newInstance(name); }
/** * Creates a new logger instance with the specified name. */ public static InternalLogger getInstance(String name) { return getDefaultFactory().newInstance(name); }
/** * Creates a new logger instance with the specified name. */ public static InternalLogger getInstance(String name) { return getDefaultFactory().newInstance(name); }
@SuppressWarnings("UnusedCatchParameter") private static InternalLoggerFactory newDefaultFactory(String name) { InternalLoggerFactory f; try { f = new Slf4JLoggerFactory(true); f.newInstance(name).debug("Using SLF4J as the default logging framework"); } catch (Throwable t1) { try { f = Log4JLoggerFactory.INSTANCE; f.newInstance(name).debug("Using Log4J as the default logging framework"); } catch (Throwable t2) { f = JdkLoggerFactory.INSTANCE; f.newInstance(name).debug("Using java.util.logging as the default logging framework"); } } return f; }
@SuppressWarnings("UnusedCatchParameter") private static InternalLoggerFactory newDefaultFactory(String name) { InternalLoggerFactory f; try { f = new Slf4JLoggerFactory(true); f.newInstance(name).debug("Using SLF4J as the default logging framework"); } catch (Throwable t1) { try { f = Log4JLoggerFactory.INSTANCE; f.newInstance(name).debug("Using Log4J as the default logging framework"); } catch (Throwable t2) { f = JdkLoggerFactory.INSTANCE; f.newInstance(name).debug("Using java.util.logging as the default logging framework"); } } return f; }
@SuppressWarnings("UnusedCatchParameter") private static InternalLoggerFactory newDefaultFactory(String name) { InternalLoggerFactory f; try { f = new Slf4JLoggerFactory(true); f.newInstance(name).debug("Using SLF4J as the default logging framework"); } catch (Throwable ignore1) { try { f = Log4JLoggerFactory.INSTANCE; f.newInstance(name).debug("Using Log4J as the default logging framework"); } catch (Throwable ignore2) { try { f = Log4J2LoggerFactory.INSTANCE; f.newInstance(name).debug("Using Log4J2 as the default logging framework"); } catch (Throwable ignore3) { f = JdkLoggerFactory.INSTANCE; f.newInstance(name).debug("Using java.util.logging as the default logging framework"); } } } return f; }