puzpuzpuz / cls-rtracer

Request Tracer - CLS-based request id generation for Express, Fastify, Koa and Hapi, batteries included
MIT License
311 stars 24 forks source link

Adding requestIdFactory option #40

Closed gabriel-pinheiro closed 4 years ago

gabriel-pinheiro commented 4 years ago

Allows specifying a new option: requestIdFactory Defaults to the previous uuidv1

Closes #37 Refs: #25

gabriel-pinheiro commented 4 years ago

Nice suggestions @puzpuzpuz ! I pushed them and the linting fix (oops, forgot about it last time :X) in the last commit

puzpuzpuz commented 4 years ago

@gabriel-pinheiro many thanks for your contribution!