Documentation ¶
Index ¶
- Constants
- func AccessLog(format string, args ...interface{})
- func Debugf(format string, args ...interface{})
- func Debugln(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Errorln(args ...interface{})
- func Infof(format string, args ...interface{})
- func Infoln(args ...interface{})
- func Init(logPath, tmpLevel string, prefixs ...string)
- func PutLogger(_logger *Logger)
- type Logger
- func (l *Logger) Debugf(format string, args ...interface{})
- func (l *Logger) Debugln(args ...interface{})
- func (l *Logger) Errorf(format string, args ...interface{})
- func (l *Logger) Errorln(args ...interface{})
- func (l *Logger) Flush()
- func (l *Logger) Infof(format string, args ...interface{})
- func (l *Logger) Infoln(args ...interface{})
- func (l *Logger) SetContext(ctx context.Context)
- func (l *Logger) Sqlf(format string, args ...interface{})
- func (l *Logger) Sqlln(args ...interface{})
Constants ¶
View Source
const ( ERROR = iota INFO SQL DEBUG )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.