Documentation ¶
Index ¶
Constants ¶
View Source
const REQUEST_IP = "requestip"
View Source
const TRACE_ID = "traceID"
用于存储在MDC和打印日志的key,
Variables ¶
This section is empty.
Functions ¶
func MDC ¶
func MDC() *zero.MdcAdapter
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.