1 package okw.log.log2html;
3 import org.apache.commons.text.StringEscapeUtils;
18 protected String getHTMLResult()
20 StringBuilder sbResult =
new StringBuilder();
22 String lvsIndention = this.getLevelIndention();
24 sbResult.append( lvsIndention + myIndentionBase +
"<p class='LogException'>" + StringEscapeUtils.escapeHtml4(
this.Info) +
"</p>\n" );
26 return sbResult.toString();
30 protected String getJSONResult()
32 StringBuilder myJSON =
new StringBuilder();
34 myJSON.append( this.jsonElement(
"Exception", this.Info ) );
36 return myJSON.toString();