File
Blob: src/workerd/server/tests/structured-logging/structured-logging-json.wd-test
| 1 | using Workerd = import "/workerd/workerd.capnp"; |
| 2 | |
| 3 | const config :Workerd.Config = ( |
| 4 | services = [ |
| 5 | ( |
| 6 | name = "main", |
| 7 | worker = ( |
| 8 | modules = [ |
| 9 | ( |
| 10 | name = "worker.js", |
| 11 | esModule = "invalid javascript syntax {{{" |
| 12 | ) |
| 13 | ], |
| 14 | compatibilityDate = "2023-05-18", |
| 15 | ) |
| 16 | ) |
| 17 | ], |
| 18 | sockets = [ |
| 19 | ( |
| 20 | name = "http", |
| 21 | address = "*:8080", |
| 22 | http = (), |
| 23 | service = "main" |
| 24 | ) |
| 25 | ], |
| 26 | structuredLogging = true |
| 27 | ); |