• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

RobinTail / express-zod-api / 9214508479 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 23 May 2024 08:35PM UTC
Files 41
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 May 2024 08:33PM UTC coverage: 100.0%. Remained the same
9214508479.1

push

github

web-flow
Built-in logger class with `.child()` method (#1778)

Can do this now (without additional libraries):

```ts
import { randomUUID } from "node:crypto";
import { BuiltinLogger, createConfig } from "express-zod-api";

declare module "express-zod-api" {
  interface LoggerOverrides extends BuiltinLogger {}
}

const config = createConfig({
  logger: { level: "debug", color: true },
  childLoggerProvider: ({ parent }) =>
    parent.child({ requestId: randomUUID() }), // context
});
```

`requestId` is special and displayed after the timestamp, looks this
way:


![image](https://github.com/RobinTail/express-zod-api/assets/13189514/d851296d-b791-4fee-82c9-2e466b3fd096)

685 of 719 branches covered (95.27%)

1130 of 1130 relevant lines covered (100.0%)

79.01 hits per line

Source Files on job run-18.x - 9214508479.1
  • Tree
  • List 41
  • Changed 33
  • Source Changed 10
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 9214508479
  • aabef58b on github
  • Prev Job for on master (#9212346180.6)
  • Next Job for on master (#9214596229.5)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc