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