Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidLoggerInterface = errors.New("invalid logger interface")
Functions ¶
func NewLogger ¶
func NewLogger() (*zap.SugaredLogger, error)
Types ¶
type Logger ¶
type Logger interface { Debug(args ...any) Info(args ...any) Warn(args ...any) Error(args ...any) Fatal(args ...any) Debugf(message string, args ...any) Infof(message string, args ...any) Warnf(message string, args ...any) Errorf(message string, args ...any) Fatalf(message string, args ...any) Debugw(message string, keysAndValues ...any) Infow(message string, keysAndValues ...any) Warnw(message string, keysAndValues ...any) Errorw(message string, keysAndValues ...any) Fatalw(message string, keysAndValues ...any) }
Click to show internal directories.
Click to hide internal directories.