java.lang.Object
com.github.sormuras.bach.Logbook
A logbook collects notes, prints them, and is able to write itself into a file.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
A textual note starting a section of notes.static final record
A weighted textual note.static interface
An abstract logbook entry.static final record
A note indicating that a tool is about to be called.static final record
A note indicating that a tool was run with a detailed description.static interface
An interface declaring default methods operating on an instance ofLogbook
. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
logCaption
(String line) void
logMessage
(System.Logger.Level level, String text) protected void
print
(Logbook.CaptionNote note) protected void
print
(Logbook.MessageNote note) protected void
print
(Logbook.ToolCallNote note) protected void
print
(Logbook.ToolRunNote note) void
static String
uptime()
-
Constructor Details
-
Logbook
-
-
Method Details
-
uptime
-
logCaption
-
logMessage
-
print
-
print
-
print
-
print
-
print
-
toMarkdown
-
sanitize
-