@twin.org/node-core 0.9.2 → 0.9.3-next.1

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.
@@ -653,6 +653,12 @@ async function configureTracing(coreConfig, envVars) {
653
653
  });
654
654
  additionalConnectorCount++;
655
655
  }
656
+ else if (tracingConnector === TracingConnectorType.Console) {
657
+ coreConfig.types.tracingConnector.push({
658
+ type: TracingConnectorType.Console
659
+ });
660
+ additionalConnectorCount++;
661
+ }
656
662
  else if (tracingConnector === TracingConnectorType.OpenTelemetry) {
657
663
  const otelTracingConfig = {
658
664
  tracerName: envVars.openTelemetryTracingTracerName,
@@ -1646,6 +1652,8 @@ export function isTelemetryEnabled(envVars) {
1646
1652
  * @returns True if tracing is enabled.
1647
1653
  */
1648
1654
  export function isTracingEnabled(envVars) {
1649
- return commaSeparatedListToArray(envVars.tracingConnector).some(t => t === TracingConnectorType.EntityStorage || t === TracingConnectorType.OpenTelemetry);
1655
+ return commaSeparatedListToArray(envVars.tracingConnector).some(t => t === TracingConnectorType.EntityStorage ||
1656
+ t === TracingConnectorType.OpenTelemetry ||
1657
+ t === TracingConnectorType.Console);
1650
1658
  }
1651
1659
  //# sourceMappingURL=engineEnvBuilder.js.map