public void error(String message, Exception e) { Project antProject = AntLogCreator.INSTANCE.getAntProject(); Task task = antProject.getThreadTask(Thread.currentThread()); antProject.log(task, message, e, Project.MSG_ERR); }
public void warn(String message) { Project antProject = AntLogCreator.INSTANCE.getAntProject(); Task task = antProject.getThreadTask(Thread.currentThread()); antProject.log(task, message, Project.MSG_WARN); }