@lark-apaas/nestjs-logger 1.0.2-alpha.6 → 1.0.2-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.cjs CHANGED
@@ -14574,7 +14574,6 @@ var BasePinoLogger = class _BasePinoLogger {
14574
14574
  }
14575
14575
  const { context, stack, extras } = this.extractOptionalParams(optionalParams, treatStack);
14576
14576
  const requestState = this.contextStore.getContext();
14577
- console.log("csh requestState", requestState);
14578
14577
  const traceId = requestState?.requestId ?? null;
14579
14578
  const payload = {
14580
14579
  trace_id: traceId,
@@ -15078,10 +15077,10 @@ LoggerModule = _ts_decorate4([
15078
15077
  (0, import_common4.Global)(),
15079
15078
  (0, import_common4.Module)({
15080
15079
  imports: [
15081
- import_config3.ConfigModule.forFeature(logger_config_default)
15080
+ import_config3.ConfigModule.forFeature(logger_config_default),
15081
+ import_nestjs_common4.CommonModule
15082
15082
  ],
15083
15083
  providers: [
15084
- import_nestjs_common4.RequestContextService,
15085
15084
  LoggerContextMiddleware,
15086
15085
  {
15087
15086
  provide: PINO_ROOT_LOGGER,
@@ -15116,7 +15115,6 @@ LoggerModule = _ts_decorate4([
15116
15115
  exports: [
15117
15116
  AppLogger,
15118
15117
  TRACE_LOGGER,
15119
- import_nestjs_common4.RequestContextService,
15120
15118
  LoggerContextMiddleware
15121
15119
  ]
15122
15120
  })