@Test
void errorCode() {

    assertThat(log.errorCode()).isNull();
    log.process(new LogEvent("logger", null, LogLevel.WARN, null, null, null));
    assertThat(log.errorCode()).isEqualTo("UNASSIGNED");
}