You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| development |**default: false** If true, the log will be separate from normal production logs. This is great for separating staging or test data from data coming from customers. |
63
-
| bufferLength |**default: 10** By default, we only send logs to ReadMe after 10 requests are made. Depending on the usage of your API it make make sense to send logs more or less frequently. |
63
+
| bufferLength |**default: 1** By default, we perform a buffer flush to ReadMe after a single request is made. Depending on the usage of your API it make make sense to do this more or less frequently. The buffer will always flush after 30 logs are made, so any number that is larger will be ignored. Also keep in mind that any request over 1mb will receive a 413 response.|
64
64
| denylist |**optional** An array of keys from your API requests, responses headers, and request bodies that you wish to not be sent to ReadMe.<br /><br />If you configure a `denylist`, it will override any `allowlist` configuration. |
65
65
| allowlist |**optional** An array of keys from your API requests and responses headers and bodies that you only wish to send to ReadMe. |
66
66
| baseLogUrl |**optional** This is the base URL for your ReadMe project. Normally this would be `https://projectName.readme.io` or `https://docs.yourdomain.com`, however if this value is not supplied, a request to the ReadMe API will be made once a day to retrieve it. This data is cached into `node_modules/.cache/readmeio`. |
0 commit comments