예제 #1
0
 /**
  * Writes the annotated log to the given output.
  *
  * @since 1.350
  */
 public void writeLogTo(XMLOutput out) throws IOException {
   new AnnotatedLargeText<GitHubWebHookPollingAction>(
           getLogFile(), Charset.defaultCharset(), true, this)
       .writeHtmlTo(0, out.asWriter());
 }
예제 #2
0
 /** Used from <tt>polling.jelly</tt> to write annotated polling log to the given output. */
 public void writePollingLogTo(long offset, XMLOutput out) throws IOException {
   // TODO: resurrect compressed log file support
   getPollingLogText().writeHtmlTo(offset, out.asWriter());
 }