mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
client logs use module.
This commit is contained in:
parent
4f7bd48bec
commit
d21cb9f336
@ -95,8 +95,8 @@ func (h *MessageHandlerCtx) systemLogs(session types.Session, payload *message.S
|
|||||||
// do not use handler logger context
|
// do not use handler logger context
|
||||||
log.WithLevel(level).
|
log.WithLevel(level).
|
||||||
Fields(msg.Fields).
|
Fields(msg.Fields).
|
||||||
|
Str("module", "client").
|
||||||
Str("session_id", session.ID()).
|
Str("session_id", session.ID()).
|
||||||
Str("service", "frontend").
|
|
||||||
Msg(msg.Message)
|
Msg(msg.Message)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user