Documentation ¶
Index ¶
Constants ¶
View Source
const ApacheFormatPattern = "%s - - [%s] \"%s %d %d\" %f\n"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApacheLogRecord ¶
type ApacheLogRecord struct { http.ResponseWriter // contains filtered or unexported fields }
func (*ApacheLogRecord) Log ¶
func (r *ApacheLogRecord) Log(out io.Writer)
func (*ApacheLogRecord) WriteHeader ¶
func (r *ApacheLogRecord) WriteHeader(status int)
type ApacheLoggingHandler ¶
type ApacheLoggingHandler struct {
// contains filtered or unexported fields
}
func (*ApacheLoggingHandler) ServeHTTP ¶
func (h *ApacheLoggingHandler) ServeHTTP(rw http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.