@lark-apaas/nestjs-logger 1.0.2-alpha.12 → 1.0.2-alpha.13
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14606,7 +14606,7 @@ var BasePinoLogger = class _BasePinoLogger {
|
|
|
14606
14606
|
}
|
|
14607
14607
|
const pinoLevel = mapLogLevelToPino(level);
|
|
14608
14608
|
const sanitizedPayload = sanitizeValue(payload);
|
|
14609
|
-
if (process.env.NODE_ENV
|
|
14609
|
+
if (process.env.NODE_ENV === "development") {
|
|
14610
14610
|
if (messageText) {
|
|
14611
14611
|
this.logger[pinoLevel](sanitizedPayload, messageText);
|
|
14612
14612
|
} else {
|