Class ConsolePanelHandler

  • All Implemented Interfaces:
    Comparable<Handler>

    public class ConsolePanelHandler
    extends AbstractLogHandler
    Specialized logger for outputting the logging in the ConsolePanel.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Field Detail

      • m_ConsolePanel

        protected ConsolePanel m_ConsolePanel
        the console panel.
    • Constructor Detail

      • ConsolePanelHandler

        public ConsolePanelHandler()
    • Method Detail

      • doPublish

        protected void doPublish​(LogRecord record)
        Publish a LogRecord.

        The logging request was made initially to a Logger object, which initialized the LogRecord and forwarded it here.

        The Handler is responsible for formatting the message, when and if necessary. The formatting should include localization.

        Specified by:
        doPublish in class AbstractLogHandler
        Parameters:
        record - description of the log event. A null record is silently ignored and is not published