Variable: erc-enable-logging
erc-enable-logging is a customizable and buffer-local variable defined
in erc-log.el.gz.
Documentation
If non-nil, ERC will log IRC conversations.
This can either be a boolean value of nil or t, or a function.
If the value is a function, it will be called with one argument, the
name of the current ERC buffer. One possible function, which saves
all but server buffers is erc-log-all-but-server-buffers.
This variable is buffer local. Setting it via M-x customize (customize) sets the
default value.
Log files are stored in erc-log-channels-directory.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-log.el.gz
(defcustom erc-enable-logging t
"If non-nil, ERC will log IRC conversations.
This can either be a boolean value of nil or t, or a function.
If the value is a function, it will be called with one argument, the
name of the current ERC buffer. One possible function, which saves
all but server buffers is `erc-log-all-but-server-buffers'.
This variable is buffer local. Setting it via \\[customize] sets the
default value.
Log files are stored in `erc-log-channels-directory'."
:type '(choice boolean
function))