Class DebugConfig

java.lang.Object
de.christofreichardt.diagnosis.DebugConfig

public class DebugConfig extends Object
Helper class which contains the trace options of a tracer for a particular thread. For internal use primarily.
Author:
Christof Reichardt
  • Constructor Details

    • DebugConfig

      public DebugConfig(boolean online, int level)
      Constructor expects the trace options.
      Parameters:
      online - indicates if output is wanted
      level - 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