@Test
public void testUnforcedLoggingCallsLoggerDirectly() {

  TestLogger logger = new TestLogger("loggy.mclogface", Level.INFO);
  TestBackend backend = new TestBackend(logger);
  backend.log(new LogRecord(Level.INFO, "Enabled"), false /* unforced */);
  logger.assertLogged("Enabled");
  logger.assertPublished("Enabled");
  backend.assertUsedForcingLogger(false);
  backend.log(new LogRecord(Level.FINE, "Disabled"), false /* unforced */);
  logger.assertLogged("Disabled");
  logger.assertPublished(null);
  backend.assertUsedForcingLogger(false);
}