return settings;
}
private static void initMessage(CommandLine line, Ivy ivy) {
if (line.hasOption("debug")) {
ivy.getLoggerEngine().pushLogger(new DefaultMessageLogger(Message.MSG_DEBUG));
} else if (line.hasOption("verbose")) {
ivy.getLoggerEngine().pushLogger(new DefaultMessageLogger(Message.MSG_VERBOSE));
} else if (line.hasOption("warn")) {
ivy.getLoggerEngine().pushLogger(new DefaultMessageLogger(Message.MSG_WARN));
} else if (line.hasOption("error")) {
ivy.getLoggerEngine().pushLogger(new DefaultMessageLogger(Message.MSG_ERR));
} else {
ivy.getLoggerEngine().pushLogger(new DefaultMessageLogger(Message.MSG_INFO));
}
}