Documentation ¶
Index ¶
- type Logger
- type ZapLogger
- func (z *ZapLogger) Debug(v ...interface{})
- func (z *ZapLogger) Debugf(format string, v ...interface{})
- func (z *ZapLogger) Error(v ...interface{})
- func (z *ZapLogger) Errorf(format string, v ...interface{})
- func (z *ZapLogger) Info(v ...interface{})
- func (z *ZapLogger) Infof(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Debug(v ...interface{}) Debugf(format string, v ...interface{}) Info(v ...interface{}) Infof(format string, v ...interface{}) Error(v ...interface{}) Errorf(format string, v ...interface{}) }
func NewDefaultLogger ¶
func NewDefaultLogger() Logger
func NewFileLogger ¶
Click to show internal directories.
Click to hide internal directories.