com.neeve.trace
Class TraceLoggerFactory.NullHandler

java.lang.Object
  extended by java.util.logging.Handler
      extended by com.neeve.trace.TraceLoggerFactory.NullHandler
Enclosing class:
TraceLoggerFactory

public static final class TraceLoggerFactory.NullHandler
extends Handler

Implements a 'null' handler.

A null handler is a 'no-op' handler i.e. all trace records received by the handler are silently discarded.


Constructor Summary
TraceLoggerFactory.NullHandler()
           
 
Method Summary
 void close()
          Implementation of Handler.close()
 void flush()
          Implementation of Handler.flush()
 void publish(LogRecord record)
          Implementation of Handler.publish(java.util.logging.LogRecord)
 
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraceLoggerFactory.NullHandler

public TraceLoggerFactory.NullHandler()
Method Detail

publish

public final void publish(LogRecord record)
Implementation of Handler.publish(java.util.logging.LogRecord)

Specified by:
publish in class Handler

flush

public final void flush()
Implementation of Handler.flush()

Specified by:
flush in class Handler

close

public final void close()
Implementation of Handler.close()

Specified by:
close in class Handler


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.