◆ V2TIMSDKConfig()
Configuration class constructor
◆ setLogLevel()
void setLogLevel |
( |
int |
logLevel | ) |
|
|
inline |
Set the log level. This operation must be performed before the Chat SDK is initialized.
- Parameters
-
◆ getLogLevel()
◆ getLogListener()
Get the current log callback listener
◆ setLogListener()
Set the current log callback listener. This operation must be performed before the Chat SDK is initialized.
- Attention
- Because callbacks are triggered in the main thread and log callbacks can occur frequently, do not execute time-consuming tasks synchronously in a callback, or the main thread may be blocked.
◆ V2TIM_LOG_NONE
final int V2TIM_LOG_NONE = 0 |
|
static |
Do not output any SDK logs
◆ V2TIM_LOG_DEBUG
final int V2TIM_LOG_DEBUG = 3 |
|
static |
Output logs at the DEBUG, INFO, WARNING, and ERROR levels
◆ V2TIM_LOG_INFO
final int V2TIM_LOG_INFO = 4 |
|
static |
Output logs at the INFO, WARNING, and ERROR levels
◆ V2TIM_LOG_WARN
final int V2TIM_LOG_WARN = 5 |
|
static |
Output logs at the WARNING and ERROR levels
◆ V2TIM_LOG_ERROR
final int V2TIM_LOG_ERROR = 6 |
|
static |
Output logs at the ERROR level