JTP API Documentation

jtp.context
Class AbstractTracer

java.lang.Object
  |
  +--jtp.context.AbstractTracer
All Implemented Interfaces:
Tracer
Direct Known Subclasses:
PrintStreamTracer

public abstract class AbstractTracer
extends Object
implements Tracer

Default implementation of Tracer.


Field Summary
protected  int lev
           
static Tracer silent
           
protected  int verb
           
 
Constructor Summary
AbstractTracer()
           
 
Method Summary
 int changeTraceDepth(int delta)
           
 int getTraceDepth()
           
 int getVerbosityLevel()
           
 void setTraceDepth(int lev)
           
 void setVerbosityLevel(int i)
           
abstract  void trace(int i, Object o)
           
 void trace(Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lev

protected int lev

verb

protected int verb

silent

public static Tracer silent
Constructor Detail

AbstractTracer

public AbstractTracer()
Method Detail

trace

public abstract void trace(int i,
                           Object o)

trace

public void trace(Object o)
Specified by:
trace in interface Tracer

changeTraceDepth

public int changeTraceDepth(int delta)
Specified by:
changeTraceDepth in interface Tracer

getTraceDepth

public int getTraceDepth()
Specified by:
getTraceDepth in interface Tracer

setTraceDepth

public void setTraceDepth(int lev)
Specified by:
setTraceDepth in interface Tracer

getVerbosityLevel

public int getVerbosityLevel()
Specified by:
getVerbosityLevel in interface Tracer

setVerbosityLevel

public void setVerbosityLevel(int i)
Specified by:
setVerbosityLevel in interface Tracer

JTP API Documentation