All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public final class LogViewer extends JPanel
A simple log viewer with search functionality.
See Also:
  • Method Details

    • clear

      public void clear()
      Clears the log
    • append

      public void append(String string)
      Parameters:
      string - the string to append
    • logViewer

      public static LogViewer logViewer()
      Returns:
      a new LogViewer
    • logViewer

      public static LogViewer logViewer(Supplier<String> defaultSaveLogFilename)
      Parameters:
      defaultSaveLogFilename - provides the default filename when saving the log to file
      Returns:
      a new LogViewer