@Test public void testI() { final Logger mockLogger = mock(Logger.class); PagerAdaptersLogging.setLogger(mockLogger); PagerAdaptersLogging.i(LOG_TAG, "message.info"); PagerAdaptersLogging.i(LOG_TAG, "message.info", null); verify(mockLogger).i(LOG_TAG, "message.info"); verify(mockLogger).i(LOG_TAG, "message.info", null); verifyNoMoreInteractions(mockLogger); }
public static void i(@NonNull final String tag, @NonNull final String message) { logger.i(tag, message); }
PagerAdaptersLogging { public static void i(@NonNull final String tag, @NonNull final String message) { logger.i(tag, message); } }
PagerAdaptersLogging { public static void i(@NonNull final String tag, @NonNull final String message) { logger.i(tag, message); } private  PagerAdaptersLogging(); }
PagerAdaptersLogging { public static void i(@NonNull final String tag, @NonNull final String message) { logger.i(tag, message); } private  PagerAdaptersLogging(); static void setLogger(@Nullable final Logger logger); @NonNull static Logger getLogger(); static void d(@NonNull final String tag, @NonNull final String message); static void d(@NonNull final String tag, @NonNull final String message, @Nullable final Throwable throwable); static void v(@NonNull final String tag, @NonNull final String message); static void v(@NonNull final String tag, @NonNull final String message, @Nullable final Throwable throwable); static void i(@NonNull final String tag, @NonNull final String message); static void i(@NonNull final String tag, @NonNull final String message, @Nullable final Throwable throwable); static void w(@NonNull final String tag, @NonNull final String message); static void w(@NonNull final String tag, @Nullable final Throwable throwable); static void w(@NonNull final String tag, @NonNull final String message, @Nullable final Throwable throwable); static void e(@NonNull final String tag, @NonNull final String message); static void e(@NonNull final String tag, @NonNull final String message, @Nullable final Throwable throwable); static void wtf(@NonNull final String tag, @NonNull final String message); static void wtf(@NonNull final String tag, @Nullable final Throwable throwable); static void wtf(@NonNull final String tag, @NonNull final String message, @Nullable final Throwable throwable); }
PagerAdaptersLogging { public static void i(@NonNull final String tag, @NonNull final String message) { logger.i(tag, message); } private  PagerAdaptersLogging(); static void setLogger(@Nullable final Logger logger); @NonNull static Logger getLogger(); static void d(@NonNull final String tag, @NonNull final String message); static void d(@NonNull final String tag, @NonNull final String message, @Nullable final Throwable throwable); static void v(@NonNull final String tag, @NonNull final String message); static void v(@NonNull final String tag, @NonNull final String message, @Nullable final Throwable throwable); static void i(@NonNull final String tag, @NonNull final String message); static void i(@NonNull final String tag, @NonNull final String message, @Nullable final Throwable throwable); static void w(@NonNull final String tag, @NonNull final String message); static void w(@NonNull final String tag, @Nullable final Throwable throwable); static void w(@NonNull final String tag, @NonNull final String message, @Nullable final Throwable throwable); static void e(@NonNull final String tag, @NonNull final String message); static void e(@NonNull final String tag, @NonNull final String message, @Nullable final Throwable throwable); static void wtf(@NonNull final String tag, @NonNull final String message); static void wtf(@NonNull final String tag, @Nullable final Throwable throwable); static void wtf(@NonNull final String tag, @NonNull final String message, @Nullable final Throwable throwable);  }