# Functions
New init SDK.
NewBatchConsumer create TDBatchConsumer.
NewBatchConsumerWithBatchSize create TDBatchConsumer serverUrl appId batchSize: flush event count each time.
NewBatchConsumerWithCompress create TDBatchConsumer serverUrl appId compress: enable data compress.
No description provided by the author
NewDebugConsumer init TDDebugConsumer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewLogConsumerWithFileSize init TDLogConsumer directory: directory of log file r: rotate mode of log file.
SetCustomLogger Set a custom log input class, usually you don't need to set it up.
Deprecated: please use thinkingdata.SetLogLevel(thinkingdata.TDLogLevelOff).
SetLogLevel Set the log output level.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
channel size.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
disable log.
print on console.
print both on console and file.
print to file.
No description provided by the author
by the day.
by the hour.
SDK_LOG_PREFIX const.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
Deprecated: please use TDLogConsumerConfig.
Deprecated: please use TDLogConsumer.
Deprecated: please use thinkingdata.SetLogLevel(thinkingdata.TDLogLevelOff).
No description provided by the author
No description provided by the author
TDBatchConsumer upload data to TE by http.
TDDebugConsumer The data is reported one by one, and when an error occurs, the log will be printed on the console.
TDLogConsumer write data to file, it works with LogBus.
No description provided by the author
# Interfaces
Deprecated: please use TDConsumer.
TDConsumer define operation interface.
TDLogger User-defined log classes must comply with interface.
# Type aliases
Deprecated: please use thinkingdata.SetLogLevel(thinkingdata.TDLogLevelOff).
No description provided by the author
No description provided by the author