Closed CamTosh closed 2 months ago
The support team send me this sample but it can't work ts: Property 'flush' is private and only accessible within class 'WinstonTransport'.
ts: Property 'flush' is private and only accessible within class 'WinstonTransport'.
// Ensure logs are flushed before the process exits process.on('beforeExit', () => { axiomTransport .flush() .then(() => { console.log('Logs flushed successfully'); }) .catch((error) => { console.error('Error flushing logs:', error); }); }); }
The support team send me this sample but it can't work
ts: Property 'flush' is private and only accessible within class 'WinstonTransport'.