Documentation ¶
Overview ¶
Package log logs every request. Every log provider can be used which implements the log.Interface. The log information is remoteAddr, HTTP Method, URL, Proto, HTTP Status, Response size and requested time.
logWriter := log.Get("console") log := New(logWriter) middleware.Add(log.MW)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.