Function: cider-log-show

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

Signature

(cider-log-show)

Documentation

Ensures the *cider-log* buffer is visible, setting up a framework, appender and consumer if necessary.

Honors the cider-log-framework-name(var)/cider-log-framework-name(fun) customization variable.

This function is offered as an alternative to workflows based on transient-mode.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-log.el
;;;###autoload
(defun cider-log-show ()
  "Ensures the *cider-log* buffer is visible,
setting up a framework, appender and consumer if necessary.

Honors the `cider-log-framework-name' customization variable.

This function is offered as an alternative to workflows
based on `transient-mode'."
  (interactive)
  (cider-current-repl 'infer 'ensure)
  (let ((framework (cider-log--framework))
        (appender (cider-log--appender))
        (new-default-directory (buffer-local-value 'default-directory (current-buffer))))
    (with-current-buffer (cider-log--switch-to-buffer cider-log-buffer)
      (setq-local default-directory new-default-directory) ;; for Sesman
      (cider-log--ensure-initialized framework appender)
      (unless cider-log-consumer
        (apply #'cider-log--ensure-initialized (cider-log--consumer-interactive-list))
        (call-interactively 'cider-log--do-add-consumer)))))