Documentation ¶
Index ¶
Constants ¶
View Source
const ( QUIET = -1 DEFAULT = 0 DEBUG = 1 TRACE = 2 )
Variables ¶
View Source
var Error *log.Logger
View Source
var ErrorCatcher *log.Logger
View Source
var Info *log.Logger
View Source
var Warning *log.Logger
Functions ¶
func ApiLogger ¶
func ApiLogger(logLevel int) gin.HandlerFunc
func SetLogLevel ¶
func SetLogLevel(level int)
Types ¶
type StackError ¶
Click to show internal directories.
Click to hide internal directories.