Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultWriter io.Writer
Functions ¶
This section is empty.
Types ¶
type WritterLogger ¶
type WritterLogger struct {
// contains filtered or unexported fields
}
func NewLogger ¶
func NewLogger(w io.Writer, opt ...helper.Option[WritterLogger]) *WritterLogger
func (*WritterLogger) ModifyRequest ¶
func (l *WritterLogger) ModifyRequest(req *http.Request) error
ModifyRequest logs requests.
func (*WritterLogger) ModifyResponse ¶
func (l *WritterLogger) ModifyResponse(res *http.Response) error
Click to show internal directories.
Click to hide internal directories.