code: public static void printTrace(String str) {
          String  trace = System.getenv("ApiTrace");
          if (trace!=null) {
              if (trace.equals("true")) {
                  System.out.println(str);
              }
          }
  
      }
docs: ===============================================================