Package de.tsl2.nano.util
Class MarkdownLog
java.lang.Object
de.tsl2.nano.util.MarkdownLog
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 Summary
Modifier and TypeMethodDescriptionvoidvoidvoidprint(Object obj, de.tsl2.nano.util.MarkdownLog.Style style, String regex, de.tsl2.nano.util.MarkdownLog.Style regexStyle) voidprintTable(String title, Stream<?> rows, Method... columnHeaders) voidwrite()protected voidwrite(String title, StringBuilder str)
-
Method Details
-
printTable
- Parameters:
title- table titlerows- class instances to invoke the columnHeader-methods oncolumnHeaders- method names as column headers- Throws:
IOException
-
write
public void write() -
write
- Throws:
IOException
-
print
-
print
-
print
-