Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface {
Debugw(format string, args ...any)
Infow(format string, args ...any)
Warnw(format string, args ...any)
Errorw(format string, args ...any)
Fatalw(format string, args ...any)
Panicw(format string, args ...any)
}
Logger is our contract for the logger
func NewZap ¶
func NewZap(logger *uberzap.SugaredLogger) Logger
NewZap returns an zap instance of logger
Click to show internal directories.
Click to hide internal directories.