Function: cider-log-show-frameworks

cider-log-show-frameworks is an interactive and byte-compiled function defined in cider-log.el.

Signature

(cider-log-show-frameworks)

Documentation

Show the available log frameworks in a buffer.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-log.el
;; Framework actions

(transient-define-suffix cider-log-show-frameworks ()
  "Show the available log frameworks in a buffer."
  :description "Show frameworks in a buffer"
  (interactive)
  (let ((frameworks (cider-sync-request:log-frameworks)))
    (with-current-buffer (cider-popup-buffer cider-log-frameworks-buffer
                                             cider-log-auto-select-frameworks-buffer)
      (read-only-mode -1)
      (insert (with-temp-buffer
                (insert (propertize (cider-propertize "Cider Log Frameworks" 'ns) 'ns t) "\n\n")
                (dolist (framework frameworks)
                  (insert (propertize (cider-propertize (cider-log-framework-name framework) 'ns) 'ns t) "\n\n")
                  (insert (format "  Website ......... %s\n" (cider-log-framework-website-url framework)))
                  (insert (format "  Javadocs ........ %s\n" (cider-log-framework-javadoc-url framework)))
                  (insert (format "  Levels .......... %s\n" (string-join (cider-log-framework-level-names framework) ", ")))
                  (newline))
                (buffer-string)))
      (read-only-mode 1)
      (goto-char (point-min)))))