java.lang.Object
io.github.jbastgen.stemma.app.ui.settings.LogsPage

public final class LogsPage extends Object
The Logs page of the About dialog: the log file in a text area, scrolled to the end, with a search box (only the lines that contain the text), a level filter, a switch that follows the file while it grows, copying and saving, and a button for the log folder. Only the last 2097152L bytes of a file are read, in the background.
  • Method Details

    • create

      public static javafx.scene.layout.VBox create(Path logDir, Runnable openLogFolder)
      The page: the log files with a search field, the level and a button that opens the folder.
      Parameters:
      logDir - the folder of the log files
      openLogFolder - shows the folder in the file manager