Documentation
¶
Overview ¶
logger/logger.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBufferSnapshot ¶
func GetBufferSnapshot() []string
GetBufferSnapshot returns the latest log lines kept in memory.
func LogRequestAndResponse ¶
添加日志函数
func SetupLogger ¶
func SetupLogger(cfg LogConfig)
Types ¶
Click to show internal directories.
Click to hide internal directories.