Class NullHandler

  • All Implemented Interfaces:

    public class NullHandler
    extends AbstractLogHandler
    Suppresses all output.
    fracpete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • NullHandler

        public NullHandler()
    • 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
        record - description of the log event. A null record is silently ignored and is not published