Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Providers = wire.NewSet( NewSugaredLogger, NewZapLogger, wire.Bind(new(Logger), new(*ZapLogger)), )
Functions ¶
func NewSugaredLogger ¶
func NewSugaredLogger() *zap.SugaredLogger
Types ¶
type ZapLogger ¶
type ZapLogger struct {
*zap.SugaredLogger
}
func NewZapLogger ¶
func NewZapLogger(sugaredLogger *zap.SugaredLogger) *ZapLogger
Click to show internal directories.
Click to hide internal directories.