Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultLogger ¶
func DefaultLogger() *zap.SugaredLogger
DefaultLogger returns the default logger for the package.
func FromContext ¶
func FromContext(ctx context.Context) *zap.SugaredLogger
func NewLogger ¶
func NewLogger(level string) *zap.SugaredLogger
func NewLoggerFromEnv ¶
func NewLoggerFromEnv() *zap.SugaredLogger
func WithLogger ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.