@dotcom-reliability-kit/middleware-log-errors
Advanced tools
Comparing version 3.0.8 to 3.0.9
{ | ||
"name": "@dotcom-reliability-kit/middleware-log-errors", | ||
"version": "3.0.8", | ||
"version": "3.0.9", | ||
"description": "Express middleware to consistently log errors", | ||
@@ -19,3 +19,3 @@ "repository": { | ||
"dependencies": { | ||
"@dotcom-reliability-kit/log-error": "^3.1.6" | ||
"@dotcom-reliability-kit/log-error": "^3.1.7" | ||
}, | ||
@@ -22,0 +22,0 @@ "devDependencies": { |
@@ -36,3 +36,3 @@ | ||
> **Warning** | ||
> [!CAUTION]<br /> | ||
> This middleware **must** be added to your Express app _after_ all your application routes – you won't get error logs for any routes which are mounted after this middleware. | ||
@@ -98,3 +98,3 @@ | ||
> **Warning** | ||
> [!WARNING]<br /> | ||
> This option can be dangerous, misconfiguring it can result in a loss of log information. Consider whether you _definitely_ need to filter logs before using, sometimes it's better to have a few too many logs than miss an important one. | ||
@@ -158,3 +158,3 @@ | ||
> **Note** | ||
> [!NOTE]<br /> | ||
> There's no need to include the `x-request-id` header in this array, as this is automatically included as `request.id` in the logs. | ||
@@ -161,0 +161,0 @@ |
10764