]> git.eshelyaron.com Git - emacs.git/commit
Change the erc debug logging format to be more repeatable
authorF. Jason Park <jp@neverwas.me>
Thu, 16 Sep 2021 13:35:55 +0000 (15:35 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 16 Sep 2021 13:35:55 +0000 (15:35 +0200)
commit426c5fdfb240f101c3f3ee6e001684c1f82c790f
treee7b29259bc63fb05f8c42505b82403000e1e8266
parentfb2971e18e2d945574a1ff53cae39b861e974989
Change the erc debug logging format to be more repeatable

* erc.el (erc-debug-irc-protocol): Fix line-ending mismatch between
incoming and outgoing logger lines without changing interface. Do this
by adding carriage returns to the latter to improve machine
readability. Change printed peer labels to most accurately reflect
logical endpoints.

(erc-debug-irc-protocol-time-format): Add new variable to support
timestamps in protocol logger output.

(erc-debug-irc-protocol-version): Add new variable to help tooling
track logging format independent of ERC and Emacs versions.

(erc-toggle-debug-irc-protocol): Add headers to protocol-log buffer
to aid future bug-reproduction tools. Clean up overlong lines (bug#50009).
lisp/erc/erc.el
test/lisp/erc/erc-tests.el