@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.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
|
|
14621
|
+
if (process.env.NODE_ENV === "development") {
|
|
14622
14622
|
if (messageText) {
|
|
14623
14623
|
this.logger[pinoLevel](sanitizedPayload, messageText);
|
|
14624
14624
|
} else {
|