Documentation ¶
Overview ¶
Package log implements basic but useful request (access) logging middleware.
Index ¶
Constants ¶
View Source
const ( DefaultLogFilename = "access.log" CommonLogFormat = `{remote} ` + middleware.EmptyStringReplacer + ` [{when}] "{method} {uri} {proto}" {status} {size}` CombinedLogFormat = CommonLogFormat + ` "{>Referer}" "{>User-Agent}"` DefaultLogFormat = CommonLogFormat )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.