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

RobinTail / express-zod-api / 9214508479
100%

Build:
DEFAULT BRANCH: master
Ran 23 May 2024 08:34PM UTC
Jobs 6
Files 41
Run time 1min
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

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%)

27 of 27 new or added lines in 3 files covered. (100.0%)

1130 of 1130 relevant lines covered (100.0%)

474.08 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-18.x - 9214508479.1 23 May 2024 08:34PM UTC 41
100.0
GitHub Action Run
2 run-22.0.0 - 9214508479.2 23 May 2024 08:34PM UTC 41
100.0
GitHub Action Run
3 run-22.x - 9214508479.3 23 May 2024 08:34PM UTC 41
100.0
GitHub Action Run
4 run-18.18.0 - 9214508479.4 23 May 2024 08:34PM UTC 41
100.0
GitHub Action Run
5 run-20.9.0 - 9214508479.5 23 May 2024 08:34PM UTC 41
100.0
GitHub Action Run
6 run-20.x - 9214508479.6 23 May 2024 08:34PM UTC 41
100.0
GitHub Action Run
Source Files on build 9214508479
  • 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 Repo
  • Github Actions Build #9214508479
  • aabef58b on github
  • Prev Build on master (#9212346180)
  • Next Build on master (#9214596229)
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

© 2025 Coveralls, Inc