class LogWriterFactory {

  public static InternalLogWriter createLogWriterLogger(final LogConfig logConfig,
      final boolean secure) {
    String name = secure ? SECURITY_LOGGER_NAME : MAIN_LOGGER_NAME;
    return createLogWriterLogger(name, logConfig.getName(), secure);
  }

}