@Test
public void testNamedLoggersWithoutSpecifiedPrimary() {

  assertTrue(helper.record("foo", 0).shouldLog());
  assertTrue(helper.record("bar", 0).shouldLog());
  assertFalse(helper.record("foo", LOG_PERIOD / 2).shouldLog());
  assertFalse(helper.record("bar", LOG_PERIOD / 2).shouldLog());
  assertTrue(helper.record("foo", LOG_PERIOD).shouldLog());
  assertTrue(helper.record("bar", LOG_PERIOD).shouldLog());
  assertFalse(helper.record("foo", (LOG_PERIOD * 3) / 2).shouldLog());
  assertFalse(helper.record("bar", (LOG_PERIOD * 3) / 2).shouldLog());
  assertFalse(helper.record("bar", LOG_PERIOD * 2).shouldLog());
  assertTrue(helper.record("foo", LOG_PERIOD * 2).shouldLog());
  assertTrue(helper.record("bar", LOG_PERIOD * 2).shouldLog());
}