nuxt-winston-log
nuxt-winston-log copied to clipboard
Nuxt module for logging SSR errors using winston
Our nuxt2 app is configured to use your plugin, which [registers this `render:errorMiddleware` hook](https://github.com/aaronransley/nuxt-winston-log/blob/f7f4d707b2f2c0ba4dfc6727ebeb0afb383cddd0/index.js#L78C21-L78C43). However, even though we are intentionally forcing errors to happen in the application, nothing is logged....
To make an access log possible, I needed the functionality to change the log level used in the request middleware. It has been implemented with a new option called requestMiddlewareLevel....
hi, I have nuxt-winston-log setup in my Nuxt 2 app to output to the console transport, as such: ``` winstonLog: { useDefaultLogger: false, loggerOptions: { format: combine(timestamp(), errors({ stack: true...
If possible, please add some type declarations for Typescript support