How to use the child function from pino
Find comprehensive JavaScript pino.child code examples handpicked from public code repositorys.
GitHub: jsugg/sapiens
144 145 146 147 148 149 150 151 152 153
destination: 1, all: true, translateTime: true, } }, logger: pino.child({name: loggerConfig.name}), genReqId: function (req, res) { const existingID = req.id ?? req.headers["x-request-id"]; if (existingID) return existingID; let id = randomUUID();
0
0
0