Files
klz-cables.com/.pnpm-store/v10/files/d4/a6351f55a292dacd95b24bd24fd78d23bb600a68ce4fa99714ac01a2ef5d677058baf143a7d8df0d1cb2054a339e3782de5fe337f9354d49dc1f1132e23f40
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

30 lines
462 B
Plaintext

'use strict'
const pino = require('../..')
const transport = pino.transport({
targets: [{
level: 'info',
target: 'pino/file',
options: {
destination: process.argv[2]
}
}]
})
const logger = pino(transport)
const toWrite = 1000000
transport.on('ready', run)
let total = 0
function run () {
if (total++ === 8) {
return
}
for (let i = 0; i < toWrite; i++) {
logger.info(`hello ${i}`)
}
transport.once('drain', run)
}