function logAll() {
    htmx.logger = function(elt, event, data) {
      if (console) {
        console.log(event, elt, data)
      }
    }
  }
Log all htmx events, useful for debugging.

@see https://htmx.org/api/#logAll