Documentation
¶
Index ¶
- Variables
- func LogDebugf(format string, args ...interface{})
- func LogErrorf(format string, args ...interface{})
- func LogFatalf(format string, args ...interface{})
- func LogInfof(format string, args ...interface{})
- func LogTracef(format string, args ...interface{})
- func Setup(productName string, settingLogLeve logrus.Level)
- type GTLog
- func (aLog *GTLog) Debugf(format string, args ...interface{})
- func (aLog *GTLog) Errorf(format string, args ...interface{})
- func (aLog *GTLog) Fatalf(format string, args ...interface{})
- func (aLog *GTLog) Ininfof(format string, args ...interface{})
- func (alog *GTLog) Setup()
- func (aLog *GTLog) Tracef(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ALog *GTLog GTLogOnce sync.Once ProjectName = "test" LogLevel = logrus.DebugLevel LogPath = "./logs/run" )
Functions ¶
func LogFatalf ¶ added in v1.9.5
func LogFatalf(format string, args ...interface{})
LogFatalf format格式化log--Fatal信息
Types ¶
Click to show internal directories.
Click to hide internal directories.