package
Version:
v1.0.7
Opens a new window with list of versions in this module.
Published: Nov 4, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Extract takes the call-scoped Logger from grpc_zap middleware.
It always returns a Logger that has all the grpc_ctxtags updated.
ToContext adds the zap.Logger to the context for extraction later.
Returning the new context that has been created.
With append logging fields to context
Source Files
¶
Click to show internal directories.
Click to hide internal directories.