Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoggingDialContext ¶ added in v1.2.0
func LoggingDialContext(dial func(context.Context, string, string) (net.Conn, error)) func(context.Context, string, string) (net.Conn, error)
LoggingDialContext wraps a dial function adding logging. This is a temporary solution until we have context-aware logging everywhere. It allows us to log the network and address of the connection being established together with the trace ID.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.