Documentation ¶
Index ¶
- Constants
- func New(platform string) logger.Logger
- func StringField(key, val string) zapcore.Field
- func TimeFromStringField(key string, val string) zapcore.Field
- type Logger
- func (l *Logger) Debug(i ...interface{})
- func (l *Logger) Debugf(format string, args ...interface{})
- func (l *Logger) Debugj(j log.JSON)
- func (l *Logger) Debugw(message string, args ...interface{})
- func (l *Logger) Error(i ...interface{})
- func (l *Logger) Errorf(format string, args ...interface{})
- func (l *Logger) Errorj(j log.JSON)
- func (l *Logger) Errorw(message string, args ...interface{})
- func (l *Logger) Fatal(i ...interface{})
- func (l *Logger) Fatalf(format string, args ...interface{})
- func (l *Logger) Fatalj(j log.JSON)
- func (l *Logger) Fatalw(message string, args ...interface{})
- func (l *Logger) Info(i ...interface{})
- func (l *Logger) Infof(format string, args ...interface{})
- func (l *Logger) Infoj(j log.JSON)
- func (l *Logger) Infow(message string, args ...interface{})
- func (l *Logger) Level() log.Lvl
- func (l *Logger) Named(name string) logger.Logger
- func (l *Logger) Output() io.Writer
- func (l *Logger) Panic(i ...interface{})
- func (l *Logger) Panicf(format string, args ...interface{})
- func (l *Logger) Panicj(j log.JSON)
- func (l *Logger) Panicw(message string, args ...interface{})
- func (l *Logger) Prefix() string
- func (l *Logger) Print(i ...interface{})
- func (l *Logger) Printf(format string, args ...interface{})
- func (l *Logger) Printj(j log.JSON)
- func (l *Logger) SetLevel(v log.Lvl)
- func (l *Logger) SetOutput(w io.Writer)
- func (l *Logger) SetPrefix(p string)
- func (l *Logger) Warn(i ...interface{})
- func (l *Logger) Warnf(format string, args ...interface{})
- func (l *Logger) Warnj(j log.JSON)
- func (l *Logger) Warnw(message string, args ...interface{})
- func (l *Logger) WithContext(fields map[string]interface{}) logger.Logger
Constants ¶
View Source
const ( Development = "development" Production = "production" )
Variables ¶
This section is empty.
Functions ¶
func StringField ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.