Documentation ¶
Index ¶
- func AddCustomerToctx(ctx context.Context)
- func AddFields(ctx context.Context, fields map[string]interface{})
- func AddLogging(logger *zap.Logger, options []grpc.ServerOption) []grpc.ServerOption
- func Extract(ctx context.Context) map[string]interface{}
- func ToContext(ctx context.Context, callLog map[string]interface{}) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddLogging ¶
func AddLogging(logger *zap.Logger, options []grpc.ServerOption) []grpc.ServerOption
AddLogging returns grpc.Server config option that turn on logging.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.