Global Feed Post Login
Replying to edf16b1d...

add relay logging (#1263)

This PR adds relay logging to the RelayDetailView.

Features:

* list of events, most recent at the top

* shows changes to RelayConnection's state

* shows changes to network state

* RelayDetailView updates live as lines are added to the log

* logs persisted to disk for later investigation

* line limit prevents unbounded file growth

Here's how it looks when resuming after having the app in the background for a while and the relays need to reconnect:

![relay-log](https://github.com/damus-io/damus/assets/445882/fd788aae-ed44-49c5-9dd1-4e6c7398456e)

relays, 5 commits

https://github.com/damus-io/damus/pull/1263

Avatar
Montzstar 2y ago

Here’s how that will look:

Reply to this note

Please Login to reply.

Discussion

No replies yet.