Documentation ¶
Index ¶
- func Initialize(sf sinkFunc)
- func LogError(ctx Context, err error)
- func LogInfo(ctx Context, message string)
- func LogRequest(ctx Context, body []byte)
- func LogRequestWithHeaders(ctx Context, body []byte, headers map[string][]string)
- func LogResponse(ctx Context, body []byte, status int)
- func LogResponseWitHeaders(ctx Context, body []byte, status int, headers map[string][]string)
- type Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶ added in v1.0.4
func Initialize(sf sinkFunc)
func LogRequest ¶
func LogRequestWithHeaders ¶ added in v1.0.15
func LogResponse ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.