Package de.christofreichardt.diagnosis
Provides the basic tracing faclitities. The most important class is
AbstractTracer which is the root
of the tracer hierarchy. The TracerFactory can be feed with an appropriate configuration and thereupon can be used
to access tracers by name, by thread or from a blocking, bounded queue.
-
Interface Summary Interface Description Traceable Classes which implement this interface delegate the retrieval of a particular tracer to the specified method. -
Class Summary Class Description AbstractThreadMap Has been introduced to exchange thread maps which are based onMap<Thread,TracingContext>with thread maps which are based onThreadLocals and vice versa.AbstractTracer Defines the basic behaviour of tracers.DebugConfig Helper class which contains the trace options of a tracer for a particular thread.DebugLogTee<T extends AbstractTracer> An abstract base class which provides the environment to connect additionally to another log system, such as log4j.JDKLoggingRouter This specialisedNullTracerredirects log messages to the core logging facilities of the Java platform, see java.util.logging.Log4j2Router A specializedNullTracerwhich delegates log messages to Log4j2 loggers.LogbackRouter A specializedNullTracerwhich delegates log messages to Logback loggers.NullTracer Instances of this tracer type don't trace anything and therefore need not to manage any method stacks.QueueNullTracer This is the tracer theTracerFactorydelivers if the Queue is disabled.QueueTracer<T extends AbstractTracer> A special tracer intended for the use by a bounded blocking queue.ThreadLocalMap ThreadMap This class maps threads onTracingContexts.TraceMethod Outlines a method for tracing.TracerConfigNamespaceContextImpl Since the TracerFactory uses XPath to access the XML configuration involving namespaces an implementation of the NamespaceContext interface is necessary.TracerFactory A factory and holder of tracers.TracingContext The tracing context of one particular thread. -
Enum Summary Enum Description LogLevel Enumeration of the pre-defined log level. -
Exception Summary Exception Description AbstractThreadMap.RuntimeException Indicates a corruption of the method stack.AbstractTracer.Exception Indicates exceptional states within the AbstractTracer context.TracerFactory.Exception Base exception class for all exceptional situations within the context of the TracerFactory