code: protected IndentablePrintStream out(int level) {
      IndentablePrintStream printStream;
  
      if (level >= 0) {
        TracingContext tracingContext = this.threadMap.getCurrentTracingContext();
        if (tracingContext != null && tracingContext.isOnline() == true && tracingContext.getDebugLevel() >= level) {
          printStream = this.tracePrintStream;
        }
        else {
          printStream = this.nullPrintStream;
        }
      }
      else {
        printStream = this.nullPrintStream;
      }
  
      return printStream;
    }
docs: Returns some kind of an IndentablePrintStream based upon the given level, the configured debug level and the
  online state of the current tracing context. It will be the {@link NullPrintStream} if the given level is greater
  than the debug level or if the thread is offline. Otherwise it's the {@link TracePrintStream}.
  
  @param level the level of the to be printed data
  @return an {@link IndentablePrintStream}