Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Instance Method

for(_:)

Returns the renderer for the given request, with the logger set from the Request.
func `for`(_ request: Request) -> any ViewRenderer

Parameters

request

The Request to scope the renderer to.

Return Value

A new PlaintextRenderer configured with the request’s logger.