Skip to main content

Config

Defined in: irsdk-node.ts:66

Configuration options interface that can be passed to the SDK during instantiation.

Properties

autoEnableTelemetry?

optional autoEnableTelemetry: boolean

Defined in: irsdk-node.ts:86

Determines if the SDK will send the enable telemetry command to iRacing on initialization.

Remarks

See IRacingSDK.autoEnableTelemetry for more information.

Default Value

false


logLevel?

optional logLevel: LogLevel

Defined in: irsdk-node.ts:75

The level of logging to allow the SDK to output.

Remarks

See IRacingSDK.logLevel for more info.

Default Value

LogLevel.None


useTelemVariableCache?

optional useTelemVariableCache: boolean

Defined in: irsdk-node.ts:98

Flags whether to enable the telemetry variable lookup cache when IRacingSDK.getTelemetryVariable is called with a string. In performance critical applications, this should remain enabled.

Remarks

See IRacingSDK.useTelemVariableCache, IRacingSDK.getTelemetryVariable, and IRacingSDK.resetTelemetryVariableCache for more information.

Default Value

true