@Test public void testDebugWithException() { mock.debug("a", e); replay(mock); final VitamLogger logger = VitamLoggerFactory.getInstance("mock"); logger.debug("a", e); verify(mock); }
public static VitamLogger getInstance(final Class<?> clazz) { return getInstance(clazz.getName()); }
VitamLoggerFactory { public static VitamLogger getInstance(final Class<?> clazz) { return getInstance(clazz.getName()); } }
VitamLoggerFactory { public static VitamLogger getInstance(final Class<?> clazz) { return getInstance(clazz.getName()); } VitamLoggerFactory(final VitamLogLevel level); }
VitamLoggerFactory { public static VitamLogger getInstance(final Class<?> clazz) { return getInstance(clazz.getName()); } VitamLoggerFactory(final VitamLogLevel level); static VitamLoggerFactory getDefaultFactory(); static void setDefaultFactory(final VitamLoggerFactory defaultFactory); static VitamLogger getInstance(final Class<?> clazz); static VitamLogger getInstance(final String name); static VitamLogLevel getLogLevel(); static void setLogLevel(final VitamLogLevel level); }
VitamLoggerFactory { public static VitamLogger getInstance(final Class<?> clazz) { return getInstance(clazz.getName()); } VitamLoggerFactory(final VitamLogLevel level); static VitamLoggerFactory getDefaultFactory(); static void setDefaultFactory(final VitamLoggerFactory defaultFactory); static VitamLogger getInstance(final Class<?> clazz); static VitamLogger getInstance(final String name); static VitamLogLevel getLogLevel(); static void setLogLevel(final VitamLogLevel level);  }