class twisted.web.iweb.IAccessLogFormatter(Interface): (source)
An object which can represent an HTTP request as a line of text for inclusion in an access log file.
Method | __call__ | Generate a line for the access log. |
Generate a line for the access log.
Parameters | timestamp | The time at which the request was completed in the standard format for access logs. (type: unicode ) |
request | The request object about which to log. (type: twisted.web.server.Request ) | |
Returns | One line describing the request without a trailing newline. (type: unicode ) |