@Override
 public ConsoleAnnotator annotate(Object context, MarkupText text, int charPos) {
   if (text.getText().contains("ERROR"))
     text.addMarkup(0, text.length(), "<span style=\"font-weight: bold; color:red\">", "</span>");
   if (text.getText().contains("INFO"))
     text.addMarkup(0, text.length(), "<span style=\"color:#993300\">", "</span>");
   return null;
 }
 @Override
 public ConsoleAnnotator annotate(Object context, MarkupText text, int charPos) {
   text.addMarkup(0, text.length(), "<span class=error-inline>", "</span>");
   return null;
 }