LogFormatter initiates the beginning of a new LogEntry per request. See DefaultLogFormatter for an example implementation.
| 61 | // LogFormatter initiates the beginning of a new LogEntry per request. |
| 62 | // See DefaultLogFormatter for an example implementation. |
| 63 | type LogFormatter interface { |
| 64 | NewLogEntry(r *http.Request) LogEntry |
| 65 | } |
| 66 | |
| 67 | // LogEntry records the final log when a request completes. |
| 68 | // See defaultLogEntry for an example implementation. |
no outgoing calls
no test coverage detected