Documentation
¶
Index ¶
- func Debug(msg string, args ...any)
- func Error(msg string, args ...any)
- func Info(msg string, args ...any)
- func Init(verbose bool)
- func LogHTTPError(method, url string, err error, duration time.Duration)
- func LogHTTPRequest(method, url string, attrs ...any)
- func LogHTTPRequestBody(body string)
- func LogHTTPResponse(method, url string, status int, duration time.Duration, attrs ...any)
- func LogHTTPResponseBody(body string)
- func Warn(msg string, args ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogHTTPError ¶
LogHTTPError logs an HTTP request error with timing
func LogHTTPRequest ¶
LogHTTPRequest logs an outbound HTTP request at debug level
func LogHTTPRequestBody ¶
func LogHTTPRequestBody(body string)
LogHTTPRequestBody logs the request body at debug level
func LogHTTPResponse ¶
LogHTTPResponse logs an HTTP response with timing at debug level
func LogHTTPResponseBody ¶
func LogHTTPResponseBody(body string)
LogHTTPResponseBody logs the response body at debug level
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.