nest-winston
nest-winston copied to clipboard
A Nest module wrapper form winston logger
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. ## Open These updates have all been created already. Click a checkbox below to...
See discussion in #473. The downside of this PR is that it will break anyone who was previously using `WinstonLogger.error(message, trace)` because it will now be interpreted as `WinstonLogger.error(message, stack)`....
Hi, first of all, thank you for your work on this package, i really like it. I am using the https://github.com/gremo/nest-winston#replacing-the-nest-logger-also-for-bootstrapping approach ight now and would like to keep doing...
Hey, nestjs - 8.4.7 nest-winston - 1.6.2 winston - 3.8.0 On running `npm run start:dev`. I get the following error: ``` (node:75942) UnhandledPromiseRejectionWarning: TypeError: _a.setLogLevels is not a function at...
While debugging while certain log entries were missing the `context` property, I found out that it seems that the context is lost when calling the `.error()` method. Here is some...
Hey, I use something like this [example](https://github.com/gremo/nest-winston/blob/master/sample/replace-nest-logger/src/app.controller.ts), how to set the context of the current service? It is now: (from this [issue](https://github.com/gremo/nest-winston/issues/122#issuecomment-802714289)) ``` constructor( private readonly userService: UsersService, @Inject(WINSTON_MODULE_NEST_PROVIDER) private...
How do you use this in a microservice? ``` const app = await NestFactory.createMicroservice( WorkerModule, { transport: Transport.TCP, options: { port: port }, logger: WinstonModule.createLogger({ transports: [ transports.console, transports.file_error, transports.file_info,...
I did not find a way to do that, I want to use some winston features. We can provide winstonInstance to express-winston (similar library: https://github.com/bithavoc/express-winston), I am looking for such...
I wish I could use the same logger in other packages (e.g: https://github.com/minddocdev/nest-express-winston), but currently the logger is private and there is no way to access it. To use it...
Adding this type makes it easier for the user to understand how to use the logger functions (either a string message or an object with a ` message` property and...