Logger bunyan style, to write JSON formatted machine readable logs and to keep JSON log lines in a memory buffer. Can be used with other logging packages.
1 | bunyanLog.trace(msg, req, res, version)
|
msg |
optional. Error to report - R struct passed to toJSON |
req |
optional. An http style request R struct |
res |
optional. An http style response R struct |
version |
optional. A user specified version R struct |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.