@globalart/nestjs-logger 2.4.2 → 2.4.3

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
@@ -7768,18 +7768,19 @@ let LoggerModule = class LoggerModule extends ConfigurableModuleClass {
7768
7768
  },
7769
7769
  {
7770
7770
  provide: LOGGER_SERVICE_TOKEN,
7771
- useFactory: (config, formatterFactory, writer, contextResolver) => {
7771
+ useFactory: (config, formatterFactory, writer, contextResolver, traceContextService) => {
7772
7772
  return new LoggerService(config, formatterFactory.create(config.format, {
7773
7773
  colors: config.colors,
7774
7774
  timestamp: config.timestamp,
7775
7775
  context: config.context
7776
- }), writer, contextResolver);
7776
+ }), writer, contextResolver, traceContextService);
7777
7777
  },
7778
7778
  inject: [
7779
7779
  LOGGER_CONFIG_TOKEN,
7780
7780
  FormatterFactory,
7781
7781
  ConsoleWriter,
7782
- ContextResolver
7782
+ ContextResolver,
7783
+ TraceContextService
7783
7784
  ]
7784
7785
  },
7785
7786
  {