From c83ea12bc955952f712cb8e0196a06c75a2ba683 Mon Sep 17 00:00:00 2001 From: byene0923 Date: Fri, 10 May 2024 01:58:14 +0800 Subject: [PATCH] refactor: fix log output format --- poller_kqueue.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poller_kqueue.go b/poller_kqueue.go index 170085d9..46af58cc 100644 --- a/poller_kqueue.go +++ b/poller_kqueue.go @@ -314,7 +314,7 @@ func (p *poller) readWriteLoop() { switch int(events[i].Ident) { case p.evtfd: default: - logging.Debug("NBIO[%v][%v_%v] trigger event, filter: %d, mod: %d", p.g.Name, p.pollType, p.index, events[i].Filter, p.g.EpollMod) + logging.Debug("NBIO[%v][%v_%v] trigger event, filter: %v, mod: %v", p.g.Name, p.pollType, p.index, events[i].Filter, p.g.EpollMod) p.readWrite(&events[i]) } }