/** * Writes a message to this writer. * The message level is "error". */ public void error(String msg) { this.error(msg, null); } /**
/** * Writes an exception to this writer. * The exception level is "error". */ public void error(Throwable ex) { this.error(LocalizedStrings.EMPTY, ex); } /**
/** * Writes both a message and exception to this writer. * The message level is "error". * @since 6.0 */ public void error(StringId msgID, Object[] params) { error(msgID, params, null); } /**
/** * Writes both a message and exception to this writer. * The message level is "error". * @since 6.0 */ public void error(StringId msgID) { error(msgID, null, null); } /**
/** * Writes both a message and exception to this writer. * The message level is "error". * @since 6.0 */ public void error(StringId msgID, Throwable ex) { error(msgID, null, ex); } /**
/** * Writes both a message and exception to this writer. * The message level is "error". * @since 6.0 */ public void error(StringId msgID, Object param) { error(msgID, param, null); } /**
OSProcess.redirectOutput(config.getLogFile()); } catch (IOException e) { logger.error(e);