@lark-apaas/nestjs-logger 1.0.6-alpha.5 → 1.0.6-alpha.7

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.js CHANGED
@@ -9271,9 +9271,9 @@ var BasePinoLogger = class _BasePinoLogger {
9271
9271
  const sanitizedPayload = sanitizeValue(payload);
9272
9272
  const isTriggerLog = firstParam?.module === "trigger";
9273
9273
  const platformModule = isTriggerLog ? "trigger" : firstParam?.paas_attributes_module;
9274
- const parentSpan = firstParam?.paas_parent_span;
9274
+ const parentSpan = firstParam?.paas_parent_span_context;
9275
9275
  if (process.env.NODE_ENV === "development") {
9276
- if (platformModule) {
9276
+ if (platformModule && !isTriggerLog) {
9277
9277
  return;
9278
9278
  }
9279
9279
  if (messageText) {