Documentation ¶
Overview ¶
beelog project klog
utils.go
Index ¶
- Constants
- Variables
- type Level
- type Logger
- func (l *Logger) Debug(v ...interface{})
- func (l *Logger) Debugf(format string, v ...interface{})
- func (l *Logger) Error(v ...interface{})
- func (l *Logger) Errorf(format string, v ...interface{})
- func (l *Logger) Fatal(v ...interface{})
- func (l *Logger) Fatalf(format string, v ...interface{})
- func (l *Logger) Flags() int
- func (l *Logger) Info(v ...interface{})
- func (l *Logger) Infof(format string, v ...interface{})
- func (l *Logger) Level() Level
- func (l *Logger) SetFlags(flag int) *Logger
- func (l *Logger) SetLevel(level Level) *Logger
- func (l *Logger) Warn(v ...interface{})
- func (l *Logger) Warnf(format string, v ...interface{})
Constants ¶
View Source
const ( Fshortfile = 1 << iota // show filename:lineno Fdate Ftime Fcolor Fdatetime = Fdate | Ftime Fdevflag = Fdatetime | Fshortfile | Fcolor // for develop use Fstdflag = Fdatetime | Fcolor )
Variables ¶
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.