public LoggerBuilder(ILoggerConfig loggerConfig) throws Exception {
    if (loggerConfig == null) throw new IllegalArgumentException("loggerConfig is null");
    appenders = new ArrayList<String>();
    config = loggerConfig;
    configureLogger();
  }