LogResponse represents the response part of a log entry
| 33 | |
| 34 | // LogResponse represents the response part of a log entry |
| 35 | type LogResponse struct { |
| 36 | StatusCode int `json:"status_code"` |
| 37 | Body interface{} `json:"body"` |
| 38 | } |
| 39 | |
| 40 | // NewRequestLogger creates a new request logger with the specified log file |
| 41 | func NewRequestLogger(logFilePath string) (*RequestLogger, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected