@lark-apaas/nestjs-logger 1.0.2-alpha.10 → 1.0.2-alpha.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -14618,7 +14618,7 @@ var BasePinoLogger = class _BasePinoLogger {
14618
14618
  }
14619
14619
  const pinoLevel = mapLogLevelToPino(level);
14620
14620
  const sanitizedPayload = sanitizeValue(payload);
14621
- if (process.env.NODE_ENV === "development") {
14621
+ if (process.env.NODE_ENV !== "development") {
14622
14622
  if (messageText) {
14623
14623
  this.logger[pinoLevel](sanitizedPayload, messageText);
14624
14624
  } else {