t.w.i.IAccessLogFormatter(Interface) : interface documentation

Part of twisted.web.iweb View Source View In Hierarchy

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.
def __call__(timestamp, request): (source)
Generate a line for the access log.
ParameterstimestampThe time at which the request was completed in the standard format for access logs. (type: unicode)
requestThe request object about which to log. (type: twisted.web.server.Request)
ReturnsOne line describing the request without a trailing newline. (type: unicode)
API Documentation for Twisted, generated by pydoctor at 2015-01-30 14:14:53.