Variable: erc-log-filter-function
erc-log-filter-function is a customizable variable defined in
erc-log.el.gz.
Value
nil
Documentation
If non-nil, pass text to this function before writing it to a log file.
The function should take one argument, which is the text to filter.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-log.el.gz
(defcustom erc-log-filter-function nil
"If non-nil, pass text to this function before writing it to a log file.
The function should take one argument, which is the text to filter."
:type '(choice (function "Function")
(const :tag "No filtering" nil)))