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
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,10 +114,12 @@ Require the `lambda-api` module into your Lambda handler script and instantiate
114
114
115
115
| Property | Type | Description |
116
116
| -------- | ---- | ----------- |
117
-
| version |`String`| Version number accessible via the `REQUEST` object |
118
117
| base |`String`| Base path for all routes, e.g. `base: 'v1'` would prefix all routes with `/v1`|
119
118
| callbackName |`String`| Override the default callback query parameter name for JSONP calls |
119
+
| logger |`boolean` or `object`| Enables default [logging](#logging) or allows for configuration through a [Logging Configuration](#logging-configuration) object. |
120
120
| mimeTypes |`Object`| Name/value pairs of additional MIME types to be supported by the `type()`. The key should be the file extension (without the `.`) and the value should be the expected MIME type, e.g. `application/json`|
121
+
| version |`String`| Version number accessible via the `REQUEST` object |
122
+
121
123
122
124
```javascript
123
125
// Require the framework and instantiate it with optional version and base parameters
0 commit comments