Skip to content

Commit c773db4

Browse files
committed
documentation update
1 parent cd09fbc commit c773db4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,12 @@ Require the `lambda-api` module into your Lambda handler script and instantiate
114114

115115
| Property | Type | Description |
116116
| -------- | ---- | ----------- |
117-
| version | `String` | Version number accessible via the `REQUEST` object |
118117
| base | `String` | Base path for all routes, e.g. `base: 'v1'` would prefix all routes with `/v1` |
119118
| 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. |
120120
| 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+
121123

122124
```javascript
123125
// Require the framework and instantiate it with optional version and base parameters

0 commit comments

Comments
 (0)