Package de.christofreichardt.diagnosis
Class DebugConfig
java.lang.Object
de.christofreichardt.diagnosis.DebugConfig
Helper class which contains the trace options of a tracer for a particular thread. For internal use
primarily.
- Author:
- Christof Reichardt
-
Constructor Summary
ConstructorsConstructorDescriptionDebugConfig(boolean online, int level) Constructor expects the trace options. -
Method Summary
-
Constructor Details
-
DebugConfig
public DebugConfig(boolean online, int level) Constructor expects the trace options.- Parameters:
online- indicates if output is wantedlevel- the trace depth
-
-
Method Details
-
isOnline
public boolean isOnline()online getter.- Returns:
- a boolean value which indicates if any trace output is to be written
-
getLevel
public int getLevel()level getter.- Returns:
- the trace depth
-