Documentation ¶
Index ¶
- func Debug(template string, args ...interface{})
- func Enable(enable bool)
- func Error(template string, args ...interface{})
- func Fatal(template string, args ...interface{})
- func Info(template string, args ...interface{})
- func Panic(template string, args ...interface{})
- func SetLevel(level zapcore.Level)
- func Warn(template string, args ...interface{})
- type PerformanceLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PerformanceLogger ¶
type PerformanceLogger struct {
// contains filtered or unexported fields
}
func GetInstance ¶
func GetInstance() *PerformanceLogger
func (*PerformanceLogger) Start ¶
func (p *PerformanceLogger) Start()
func (*PerformanceLogger) StopAndLog ¶
func (p *PerformanceLogger) StopAndLog(method string, url string)
Click to show internal directories.
Click to hide internal directories.