Class Main.LogHandler

  • All Implemented Interfaces:
    Enclosing class:

    public static class Main.LogHandler
    extends adams.core.logging.AbstractLogHandler
    The log handler for the application.
    FracPete (fracpete at waikato dot ac dot nz)
    • Field Detail

      • m_Owner

        protected Main m_Owner
        the owner.
    • Constructor Detail

      • LogHandler

        public LogHandler​(Main owner)
    • 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 adams.core.logging.AbstractLogHandler
        record - description of the log event. A null record is silently ignored and is not published