Package de.christofreichardt.diagnosis
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.
-
ClassDescriptionHas been introduced to exchange thread maps which are based on
Map<Thread,TracingContext>with thread maps which are based onThreadLocals and vice versa.Indicates a corruption of the method stack.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.This specialisedNullTracerredirects log messages to the core logging facilities of the Java platform, see java.util.logging.Enumeration of the pre-defined log level.Instances of this tracer type don't trace anything and therefore need not to manage any method stacks.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.This class maps threads onTracingContexts.Classes which implement this interface delegate the retrieval of a particular tracer to the specified method.Outlines a method for tracing.Since the TracerFactory uses XPath to access the XML configuration involving namespaces an implementation of the NamespaceContext interface is necessary.Base exception class for all exceptional situations within the context of the TracerFactoryThe tracing context of one particular thread.