Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct{}
Logger is a modifier that logs requests and responses.
func NewLogger ¶
func NewLogger() *Logger
NewLogger returns a logger that logs requests and responses, optionally logging the body. Log function defaults to martian.Infof.
func (*Logger) ModifyRequest ¶
ModifyRequest logs the request
Click to show internal directories.
Click to hide internal directories.