Documentation
¶
Index ¶
- type Logger
- type ZapLogger
- func (z *ZapLogger) Debug(msg interface{})
- func (z *ZapLogger) Error(msg interface{})
- func (z *ZapLogger) Fatal(msg interface{})
- func (z *ZapLogger) Info(msg interface{})
- func (z *ZapLogger) Sync() error
- func (z *ZapLogger) With(key string, value interface{}) Logger
- func (z *ZapLogger) WithError(err error) Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZapLogger ¶
type ZapLogger struct {
// contains filtered or unexported fields
}
func NewDevelopmentLogger ¶
func NewProductionLogger ¶
Click to show internal directories.
Click to hide internal directories.