Closed ibrahimwithi closed 1 year ago
Hi @ibrahimwithi ,
To know exactly why you are getting this error I'd need to know more about your environment, but the ultimate cause is that winston-seq does not work in the browser. You can get past this error by defining a setImmediate function (as setTimeout(fn, 0)) or including a setImmediate polyfill, but if you do I expect that you will just run into the next error.
Also, Winston does not work in the browser either.
Rather than logging from the browser we recommend to send logs from your server code.
I'm using winston-seq with next.js typescript and I got this error
logger.js