Documentation ¶
Index ¶
- Variables
- func Alert(v ...interface{})
- func ConsoleLog() gin.HandlerFunc
- func Critical(v ...interface{})
- func Debug(v ...interface{})
- func Emergency(v ...interface{})
- func Error(v ...interface{})
- func Info(v ...interface{})
- func InitLogToLogServer(R *gin.Engine)
- func LogToLogServer() gin.HandlerFunc
- func Notice(v ...interface{})
- func Run()
- func Warning(v ...interface{})
- type CustomResponseWriter
- type LogType
Constants ¶
This section is empty.
Variables ¶
View Source
var LogServer servercfg
日志服务器配置
Functions ¶
func InitLogToLogServer ¶
Types ¶
type CustomResponseWriter ¶
type CustomResponseWriter struct { gin.ResponseWriter // contains filtered or unexported fields }
获取响应体内容
func (CustomResponseWriter) WriteString ¶
func (w CustomResponseWriter) WriteString(s string) (int, error)
Click to show internal directories.
Click to hide internal directories.