Documentation ¶
Overview ¶
Package goakit contains an adapter that makes it possible to configure goa so it uses the go-kit log package as logger backend. Usage:
// Initialize logger using github.com/go-kit/log package logger := log.NewLogfmtLogger(w) // Initialize goa service logger using adapter service.WithLogger(goakit.New(logger)) // ... Proceed with configuring and starting the goa service // In middlewares: goakit.Logger(ctx).Log("foo", "bar")
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.