Function: forge-enable-sql-logging

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

Signature

(forge-enable-sql-logging)

Documentation

Enable logging Forge's SQL queries.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/923zwib42c4qw6x4xps0cv1wi8qcd6lp-emacs-packages-deps/share/emacs/site-lisp/elpa/forge-20261005.753/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))))