Documentation ¶
Index ¶
- func Access(ctx *context.Context)
- func Error(err ...interface{})
- func Info(info ...interface{})
- func LogSQL(statement string, args []interface{})
- func OpenSQLLog()
- func SetAccessLogger(path string, debug, isAccessLogOn bool)
- func SetErrorLogger(path string, debug, isErrorLogOn bool)
- func SetInfoLogger(path string, debug, isInfoLogOn bool)
- func SetLogger(kind, path string, debug bool)
- func Warn(info ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogSQL ¶ added in v1.0.8
func LogSQL(statement string, args []interface{})
LogSQL print the sql info message.
func SetAccessLogger ¶
SetAccessLogger set the access logger.
func SetErrorLogger ¶
SetErrorLogger set the error logger.
func SetInfoLogger ¶
SetInfoLogger set the info logger.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.