TTSDKLogConfiguration class

Local SDK logging and remote retrieval configuration (TTSDK 1.52.1+). Set on TTSDKConfiguration before the first SDK initialization. Omitted optional values use native SDK defaults.

Constructors

TTSDKLogConfiguration({required bool enable, TTSDKLogLevel? logLevel, String? logPath, int? maxLogSizeM, int? singleLogSizeM, int? logExpireTimeS, String? deviceID})
const

Properties

deviceID → String?
Custom retrieval identifier. Omit to use the SDK device identifier.
final
enable → bool
Enables both local recording and retrieval task polling.
final
hashCode → int
The hash code for this object.
no setterinherited
logExpireTimeS → int?
Retention in seconds. Native default: 7 days.
final
logLevel → TTSDKLogLevel?
final
logPath → String?
final
maxLogSizeM → int?
Total file capacity in MB. Native default: 100.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
singleLogSizeM → int?
Per-file capacity in MB. Native default: 2.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited