Package ca.phon.ui

Class PhonLoggerConsole

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable

public class PhonLoggerConsole extends JTextPane
A panel which prints messages from a given Logger
See Also:
  • Constructor Details

    • PhonLoggerConsole

      public PhonLoggerConsole()
  • Method Details

    • setLevelIcon

      public void setLevelIcon(Level level, ImageIcon icon)
      Set the icon used for the given log level.
      Parameters:
      level -
      icon -
    • setLevelStyle

      public void setLevelStyle(Level level, AttributeSet style)
      Set the text style used for the given log level.
      Parameters:
      level -
      style -
    • getFormatter

      public Formatter getFormatter()
    • setFormatter

      public void setFormatter(Formatter formatter)
    • addLogger

      public void addLogger(Logger logger)
      Add a logger
      Parameters:
      logger -
    • removeLogger

      public void removeLogger(Logger logger)
      Remove a logger
      Parameters:
      logger -