Use logrus for DebugCB
1 files changed, 1 insertions(+), 2 deletions(-) M cmd/tallyard/main.go
M cmd/tallyard/main.go => cmd/tallyard/main.go +1 -2
@@ 16,8 16,7 @@ import ( ) func DebugCB(source mautrix.EventSource, evt *event.Event) { return fmt.Printf("%[5]d: <%[1]s> %[4]s (%[2]s/%[3]s)\n", evt.Sender, evt.Type.String(), evt.ID, evt.Content.AsMessage().Body, source) log.Debugf("%[5]d: <%[1]s> %[4]s (%[2]s/%[3]s)\n", evt.Sender, evt.Type.String(), evt.ID, evt.Content.AsMessage().Body, source) } func electionFilter(localUserID id.UserID) *mautrix.Filter {