Package net.hydromatic.morel.util
Class Tracers
java.lang.Object
net.hydromatic.morel.util.Tracers
Implementations of
Unifier.Tracer.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceTracer that allows each of its methods to be modified using a handler.private static classImplementation ofTracers.ConfigurableTracerthat has a field for each handler.private static classImplementation ofUnifier.Tracerthat does nothing.private static classImplementation ofUnifier.Tracerthat writes to a givenPrintWriter.static interfaceConsumer that accepts four arguments. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Tracers.ConfigurableTracerReturns a tracer that does nothing.static Tracers.ConfigurableTracerprintTracer(OutputStream stream) Returns a tracer that writes debugging messages to a stream.static Tracers.ConfigurableTracerReturns a tracer that writes debugging messages to a writer.
-
Constructor Details
-
Tracers
private Tracers()
-
-
Method Details
-
nullTracer
Returns a tracer that does nothing. -
printTracer
Returns a tracer that writes debugging messages to a writer. -
printTracer
Returns a tracer that writes debugging messages to a stream.
-