Commit 3b4cdb5
committed
feat: upgrade logger, move to peer dep (PL-000) (#114)
Migration path:
- Upgrade to `@voiceflow/[email protected]`, with new instantiation.
- Remove exception middleware from express
- Ensure `createHTTPLogger` is added to express
BREAKING CHANGE: Move to `@voiceflow/logger` v2, as a peer dep.
BREAKING CHANGE: Remove the exception middleware, as this same functionality is done better by the `pino-http` logger in `@voiceflow/logger`.
Co-authored-by: Tyler Stewart <[email protected]>1 parent 81967c5 commit 3b4cdb5
File tree
13 files changed
+228
-459
lines changed- src
- middlewares
- exception
- formatters
- tests/middlewares/exception/formatters
13 files changed
+228
-459
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
0 commit comments