Class MarkdownLog

java.lang.Object
de.tsl2.nano.util.MarkdownLog

public class MarkdownLog extends Object
 creates two kinds of markdown logs:
 print      : logs in markdown foramt
 printTable : prints out all values of given methods of a stream of class instances
 
  • Method Details

    • printTable

      public void printTable(String title, Stream<?> rows, Method... columnHeaders) throws IOException
      Parameters:
      title - table title
      rows - class instances to invoke the columnHeader-methods on
      columnHeaders - method names as column headers
      Throws:
      IOException
    • write

      public void write()
    • write

      protected void write(String title, StringBuilder str) throws IOException
      Throws:
      IOException
    • print

      public void print(Object obj)
    • print

      public void print(Object obj, de.tsl2.nano.util.MarkdownLog.Style style)
    • print

      public void print(Object obj, de.tsl2.nano.util.MarkdownLog.Style style, String regex, de.tsl2.nano.util.MarkdownLog.Style regexStyle)