@Test
public void testFormatWithoutLoggerName() throws Exception {

    record.setLoggerName(null);
    final JsonNode result = objectMapper.readTree(formatter.format(record));
    assertThat(result.get("log.logger")).isNull();
}