protected String generateMessage(Log log){
  ErrLoggingEvent ev=log.getLoggingEvent();
  if (host != null) {
    return String.format("[ %s ] %s%n%s%n:mag: %s/log/list.err?id=%s",ev.getLevel(),log.getRabbitId(),ev.getRenderedMessage(),host,log.getRabbitId());
  }
 else {
    return String.format("[ %s ] %s%n%s",ev.getLevel(),log.getRabbitId(),ev.getRenderedMessage());
  }
}

protected String generateMessage ( Log log ) { ErrLoggingEvent ev = log . getLoggingEvent ( ) ; if ( host != null ) { return String . format ( "[ %s ] %s%n%s%n:mag: %s/log/list.err?id=%s" , ev . getLevel ( ) , log . getRabbitId ( ) , ev . getRenderedMessage ( ) , host , log . getRabbitId ( ) ) ; } else { return String . format ( "[ %s ] %s%n%s" , ev . getLevel ( ) , log . getRabbitId ( ) , ev . getRenderedMessage ( ) ) ; } }
generate message from log - - - - - sample [ error ] application id it ' s error message here . : mag : http : / / localhost : 8080 / - - - - -
