2.9Loggingπ i
Formats a request and a response by:
Formats a request and a response by:
"~s\n"
(referer
#"Referer"
#f)))
Formats a request and a response like Apache’s default. However, Apache’s default
includes information about the size of the object returned to the client,
which this function does not have access to, so it defaults the last field
to -.
Formats a request and a response to approximate the Combined Log Format.
As this function does not have access to the size of the object returned
to the client, it defaults the field to -.
Equivalent to
(symbols 'parenthesized-default'extended'apache-default'combined).
If
dispatcher is successfully dispatched,
logs requests and responses (without the
body information)
to
log-path, which can be either a filepath or an
output-port? ,
using
format to format the requests and responses
(or just requests if
format only accepts one argument).
If
format is a symbol, a log formatter will be tacitly made using
log-format->format .
Added in version 1.12 of package web-server-lib.