Releases: yamcodes/pino-nestjs
Releases · yamcodes/pino-nestjs
[email protected]
v0.1.2
v0.1.1
v0.1.0
Minor Changes
-
NestJS drop-in compatibility
#1b9306c4@yamcodesMake the logger compatible with NestJS by switching the order of the arguments:
// With nestjs-pino: this.logger.log(context, "message"); // ❌ context first, message second // With NestJS standard logger and pino-nestjs: this.logger.log("message", context); // ✅ message first, context second