java.lang.Object
de.sormuras.bach.Logbook
public final class Logbook extends Object
A logbook records textual log entries of all levels and also records tool call results.
-
Constructor Summary
Constructors Constructor Description Logbook(Consumer<String> printer, System.Logger.Level threshold) -
Method Summary
Modifier and Type Method Description Logbookconsumer(Consumer<String> consumer)Stringlog(System.Logger.Level level, String text)Stringlog(System.Logger.Level level, String format, Object... arguments)static LogbookofSystem()System.Logger.Levelthreshold()Logbookthreshold(System.Logger.Level threshold)List<String>toMarkdown(Project project)static StringtoString(Duration duration)