TraceSettingsBuilder
public class TraceSettingsBuilder : CollectorSettingsBuilder
A builder used to enforce TraceSettings.
-
Set whether to automatically track logged errors during trace sessions.
When enabled, the Trace module will automatically capture and send error events that occur while a trace session is active. This is useful for debugging and monitoring application errors in conjunction with trace data.
Error events are sent as separate dispatches with the event name “tealium_error” and include an “error_description” field containing the error details.
Declaration
Swift
public func setTrackErrors(_ trackErrors: Bool) -> SelfParameters
trackErrorstrueto enable automatic error tracking during trace sessions,falseto disable it. Default isfalse.Return Value
The builder instance for method chaining.
View on GitHub