Plumber¶
Use prLog
to run a plumber API that logs requests, their paths, latency, and more.
Create a standard plumber API file.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
Use prLog
.
1 2 3 4 |
|
If you are using a package that already modifies the plumber object (e.g.: titan) and cannot use prLog
, you can use prWithLog
instead.
1 2 3 |
|