Documentation ¶ Index ¶ Variables type AppLogger func NewLogger(_logPath, _loggerName string) AppLogger type Flag func (f Flag) Code() int func (f Flag) Text() string Constants ¶ This section is empty. Variables ¶ View Source var Version string Functions ¶ This section is empty. Types ¶ type AppLogger ¶ type AppLogger interface { Log(flag Flag, msg, logPosition string, v ...interface{}) Debug(msg string, v ...interface{}) Info(msg string, v ...interface{}) Warn(msg string, v ...interface{}) Error(msg string, v ...interface{}) } func NewLogger ¶ func NewLogger(_logPath, _loggerName string) AppLogger type Flag ¶ type Flag int const ( DEBUG Flag = 1 INFO Flag = 2 WARN Flag = 3 ERROR Flag = 4 ) func (Flag) Code ¶ func (f Flag) Code() int func (Flag) Text ¶ func (f Flag) Text() string Source Files ¶ View all Source files utils.goversion.go Click to show internal directories. Click to hide internal directories.