@Test public void testDefaultLogFormat() { EcLogYamlConfig defaultConfig = new EcLogYamlConfig(); assertThat(defaultConfig.getLogFormat()).isEqualTo("{?${TIMESTAMP}?}{?|${CLIENT_IP}?}{?:${CLIENT_PORT}?}{?|${COORDINATOR_IP}?}{?|${USER}?}{?|${STATUS}?}{?|${BATCH_ID}?}{?|${OPERATION}?}"); }
public String getLogFormat() { return log_format == null ? DEFAULT_FORMAT : log_format; }
EcLogYamlConfig { public String getLogFormat() { return log_format == null ? DEFAULT_FORMAT : log_format; } }
EcLogYamlConfig { public String getLogFormat() { return log_format == null ? DEFAULT_FORMAT : log_format; }  }
EcLogYamlConfig { public String getLogFormat() { return log_format == null ? DEFAULT_FORMAT : log_format; }  String getLogFormat(); Optional<DateTimeFormatter> getTimeFormatter(); }
EcLogYamlConfig { public String getLogFormat() { return log_format == null ? DEFAULT_FORMAT : log_format; }  String getLogFormat(); Optional<DateTimeFormatter> getTimeFormatter(); public String log_format; public String time_format; public String time_zone; }