code: def exectracer(self, cursor, sql, bindings):
      tid = self.threadid()
      if tid not in self.threadsused:
          self.threadsused[tid] = True
      if self.options.report:
          fix = self.sanitizesql(sql)
          if fix not in self.queries:
              self.queries[fix] = 1
          else:
              self.queries[fix] = self.queries[fix] + 1
      if not isinstance(cursor, self.apswConnection):
          wr = weakref.ref(cursor, self.cursorfinished)
          if wr not in self.newcursor:
              self.newcursor[wr] = True
              self.numcursors += 1
              if self.options.sql:
                  self.log(
                      id(cursor),
                      "CURSORFROM:",
                      "%x" % (id(cursor.getconnection()),),
                      "DB:",
                      self.formatstring(
                          cursor.getconnection().filename,
                          checkmaxlen=False,
                      ),
                  )
      if self.options.sql:
          args = [id(cursor), "SQL:", self.formatstring(sql, "", False)]
          if bindings:
              args.extend(["BINDINGS:", self.format(bindings)])
          self.log(*args)
      return True
  
imports: import time
  import sys
  import weakref
label_desc: Use image node_id 13 for calling the APSWTracer obj's underlying member method code with example usage: obj.exectracer(cursor, sql, bindings) and returns: True