Support session id #1632

Merged
lunny merged 2 commits from lunny/session_id into master 2020-03-26 12:31:12 +00:00
Owner

When you want to track different sessions, you can enable it as engine.EnableSessionID(true). Default is false. After you enabled. You can get sessionid from ctx.Ctx.Value(log.SessionIDKey) on ContextLog.

When you want to track different sessions, you can enable it as `engine.EnableSessionID(true)`. Default is false. After you enabled. You can get sessionid from `ctx.Ctx.Value(log.SessionIDKey)` on `ContextLog`.
lunny added the
kind
enhancement
label 2020-03-26 03:27:47 +00:00
lunny closed this pull request 2020-03-26 12:31:11 +00:00
Sign in to join this conversation.
No description provided.