chiark / gitweb /
Create a log entry for every HTTP transaction.
authorSimon Tatham <anakin@pobox.com>
Thu, 4 Jan 2024 09:50:52 +0000 (09:50 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 4 Jan 2024 12:03:24 +0000 (12:03 +0000)
commitb4c4ad94f9dc9e31f850a3d4fb241a11eeb3a294
treefae17c236103953dd7e9fc1c108d346c0d0bdd48
parent56004f93c71c4c0dfaedafc7e29be9eab5b1165e
Create a log entry for every HTTP transaction.

These are built into a struct and passed to a 'consume' method which
currently does nothing with them.

In the immediate short term, I want to add a --debug option which
writes them to a log file on disk, so I can look at a misbehaving
session and see what went wrong.

In the longer term, I think I might also want to keep a rolling buffer
of these log entries, and make it accessible through the Logs Menu.
src/client.rs
src/login.rs