Documentation ¶
Overview ¶
Package goazap contains an adapter that makes it possible to configure goa so it uses zap as logger backend. Usage:
logger, err := zap.NewProduction() ... // Initialize logger handler using zap package service.WithLogger(goazap.New(logger)) // ... Proceed with configuring and starting the goa service // In handlers: goazap.Logger(ctx).Info("foo")
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.