Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GinxLogFormatterParams ¶
type GinxLogFormatterParams struct { gin.LogFormatterParams Format string // 数据输出格式:text,json Env string Idc string // 服务idc PrjName string LocalIP string Hostname string }
GinxLogFormatterParams ginx custom web log formatter params struct.
type GinxLoggerrConfig ¶
type GinxLoggerrConfig struct { Formatter LogFormatter Output io.Writer SkipPaths []string }
type LogFormatter ¶
type LogFormatter func(params GinxLogFormatterParams) string
LogFormatter ginx log formatter
Click to show internal directories.
Click to hide internal directories.