Documentation ¶
Index ¶
- func Debug(format string, v ...interface{})
- func Debugw(format string, v ...interface{})
- func Err(format string, v ...interface{}) error
- func Errw(format string, v ...interface{})
- func Info(format string, v ...interface{})
- func Infow(format string, v ...interface{})
- func Init(path string, level zapcore.Level) error
- func SetDefault(l *Logger)
- func Sync()
- func Warn(format string, v ...interface{})
- func Warnw(format string, v ...interface{})
- type Logger
- func (log *Logger) Debug(format string, v ...interface{})
- func (log *Logger) Debugw(format string, v ...interface{})
- func (log *Logger) EnableDailyFile()
- func (log *Logger) Err(format string, v ...interface{})
- func (log *Logger) Errw(format string, v ...interface{})
- func (log *Logger) GetUnderlyingLogger() *zap.Logger
- func (log *Logger) Info(format string, v ...interface{})
- func (log *Logger) Infow(format string, v ...interface{})
- func (log *Logger) Print(v ...interface{})
- func (log *Logger) Printf(format string, v ...interface{})
- func (log *Logger) Warn(format string, v ...interface{})
- func (log *Logger) Warnw(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDefault ¶
func SetDefault(l *Logger)
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func GetDefault ¶
func GetDefault() *Logger
func (*Logger) EnableDailyFile ¶
func (log *Logger) EnableDailyFile()
func (*Logger) GetUnderlyingLogger ¶
Click to show internal directories.
Click to hide internal directories.