Documentation
¶
Index ¶
- func EnableProductionLogging(lvl zapcore.Level)
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func Fatal(v ...interface{})
- func Fatalf(format string, v ...interface{})
- func Fatalln(v ...interface{})
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func Level() zapcore.Level
- func LevelHandler() http.Handler
- func Panic(v ...interface{})
- func Panicf(format string, v ...interface{})
- func Panicln(v ...interface{})
- func Print(v ...interface{})
- func Printf(format string, v ...interface{})
- func Println(v ...interface{})
- func Warn(v ...interface{})
- func Warnf(format string, v ...interface{})
- type Fields
- type Logger
- func (l Logger) Print(v ...interface{})
- func (l Logger) Printf(format string, v ...interface{})
- func (l Logger) Println(v ...interface{})
- func (l Logger) Warning(v ...interface{})
- func (l Logger) Warningf(format string, v ...interface{})
- func (l Logger) With(v ...interface{}) Logger
- func (l Logger) WithOptions(v ...zap.Option) Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnableProductionLogging ¶
func LevelHandler ¶
Types ¶
type Logger ¶
type Logger struct {
*zap.SugaredLogger
}
func NewErrorOnlyLogger ¶
func NewErrorOnlyLogger() Logger
func NewTestLogger ¶
Click to show internal directories.
Click to hide internal directories.