plumber {log}R Documentation

Plumber

Description

Serve a plumber API with metrics, use this function like you would use plumber::pr().

Usage

prLog(file = NULL, ..., requests = requestLogger)

prWithLog(pr, requests = requestLogger)

Arguments

file

Plumber file as passed to plumber::pr().

...

Any other argument to pass to plumber::pr().

requests

Logger to log requests, set to NULL to not log.

pr

Plumber API as returned by plumber::pr().


[Package log version 1.1.1 Index]