Package de.christofreichardt.diagnosis
Class QueueNullTracer
java.lang.Object
de.christofreichardt.diagnosis.AbstractTracer
de.christofreichardt.diagnosis.QueueTracer<NullTracer>
de.christofreichardt.diagnosis.QueueNullTracer
This is the tracer the
TracerFactory delivers if the Queue is disabled. To redirect log messages
to the JDK logging system use the JDKLoggingRouter as constructor argument. Note that while this is
assignable to a QueueTracer it must not be configured as an actual tracer type for the queue. Instead disable the Queue
and you will get by default and non-blocking QueueNullTracer instances.
- Author:
- Christof Reichardt
-
Nested Class Summary
Nested classes/interfaces inherited from class de.christofreichardt.diagnosis.AbstractTracer
AbstractTracer.Exception -
Field Summary
Fields inherited from class de.christofreichardt.diagnosis.QueueTracer
tracerFields inherited from class de.christofreichardt.diagnosis.AbstractTracer
VERSION -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.christofreichardt.diagnosis.QueueTracer
clearCurrentTracingContext, close, entry, entry, getBufferSize, getSyncObject, getThreadMap, initCurrentTracingContext, initCurrentTracingContext, isAutoflush, isOpened, logException, logMessage, open, out, out, readConfiguration, setAutoflush, setBufferSize, wayoutMethods inherited from class de.christofreichardt.diagnosis.AbstractTracer
entry, formatStreamErrorState, formatVersionInfo, getBufferedOutputStream, getName, getNullPrintStream, getTracePrintStream, setBufferedOutputStream, setOpened, setTracePrintStream, substitute
-
Constructor Details
-
QueueNullTracer
The constructor expects aNullTracer.- Parameters:
tracer- the to be wrapped tracer
-