FragmentsLogging { @NonNull public static Logger getLogger() { return logger; } private  FragmentsLogging(); 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);  }
@Test public void testDefaultLogger() { final Logger logger = FragmentsLogging.getLogger(); assertThat(logger, is(notNullValue())); assertThat(logger.getLogLevel(), is(Log.ASSERT)); }