public void initCurrentTracingContext(int debugLevel, boolean online) {
    
    // todo: prevent manually creation of tracing contexts by configuration?!

    TracingContext tracingContext = this.threadMap.getCurrentTracingContext();
    if (tracingContext == null) {
      System.out.println(formatContextInfo(debugLevel, online));
      tracingContext = new TracingContext(debugLevel, online);
      this.threadMap.setCurrentTracingContext(tracingContext);
    }
    else {
      tracingContext.setDebugLevel(debugLevel);
      tracingContext.setOnline(online);
    }
  }
public void initCurrentTracingContext ( int debugLevel , boolean online ) { TracingContext tracingContext = this . threadMap . getCurrentTracingContext ( ) ; if ( tracingContext == null ) { System . out . println ( formatContextInfo ( debugLevel , online ) ) ; tracingContext = new TracingContext ( debugLevel , online ) ; this . threadMap . setCurrentTracingContext ( tracingContext ) ; } else { tracingContext . setDebugLevel ( debugLevel ) ; tracingContext . setOnline ( online ) ; } }
Initialises the current tracing context with the given debugLevel and online state.

@param debugLevel controls the extent of the output
@param online a value of false delivers no output of the current thread at all whereas a value of true delivers output controlled by debugLevel