diff --git a/pool.go b/pool.go index 16bf112..1b61220 100644 --- a/pool.go +++ b/pool.go @@ -34,6 +34,10 @@ type IncomingEvent struct { Relay *Relay } +func (ie IncomingEvent) String() string { + return fmt.Sprintf("[%s] >> %s", ie.Relay.URL, ie.Event) +} + type PoolOption interface { IsPoolOption() Apply(*SimplePool)