Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultLogLevel = logrus.DebugLevel DefaultLogDir = "/logs/" )
Variables ¶
View Source
var DefaultTraceLabel = "traceID"
Functions ¶
func LogContext ¶
func LogContext(filter []string) gin.HandlerFunc
func NewContext ¶
func SetLogLevel ¶
Types ¶
type ResultWriter ¶
type ResultWriter struct { gin.ResponseWriter // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.