method

access_log

access_log(config, req, res)
public

Logs req and res in the access logs. config is used for the server name.