Example #1
0
 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);
 }
Example #2
0
 public void warn(String message) {
   Project antProject = AntLogCreator.INSTANCE.getAntProject();
   Task task = antProject.getThreadTask(Thread.currentThread());
   antProject.log(task, message, Project.MSG_WARN);
 }