Function: forge-enable-sql-logging

forge-enable-sql-logging is an interactive and byte-compiled function defined in forge-db.el.

Signature

(forge-enable-sql-logging)

Documentation

Enable logging Forge's SQL queries.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/forge-20260408.1922/forge-db.el
(defun forge-enable-sql-logging ()
  "Enable logging Forge's SQL queries."
  (interactive)
  (let ((conn (oref (forge-db) connection)))
    (emacsql-enable-debugging conn)
    (switch-to-buffer-other-window (oref conn log-buffer))))