erc-log-matches

erc-log-matches is a compiled Lisp function in `erc-match.el'.

(erc-log-matches MATCH-TYPE NICKUSERHOST MESSAGE)

Log matches in a separate buffer, determined by MATCH-TYPE.
The behavior of this function is controlled by the variables
`erc-log-matches-types-alist' and `erc-log-matches-flag'.
Specify the match types which should be logged in the former,
and deactivate/activate match logging in the latter.
See `erc-log-match-format'.