Documentation ¶ Index ¶ func FromContext(ctx context.Context) (*zap.Logger, error) func Middleware(baseLogger *zap.Logger) func(http.Handler) http.Handler func New() *zap.Logger func WithLogger(ctx context.Context, logger *zap.Logger) context.Context Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func FromContext ¶ func FromContext(ctx context.Context) (*zap.Logger, error) func Middleware ¶ func Middleware(baseLogger *zap.Logger) func(http.Handler) http.Handler func New ¶ func New() *zap.Logger func WithLogger ¶ func WithLogger(ctx context.Context, logger *zap.Logger) context.Context Types ¶ This section is empty. Source Files ¶ View all Source files logger.go Click to show internal directories. Click to hide internal directories.