openHiTLS API openHiTLS 0.1.0-Alpha1

◆ BSL_LOG_SetBinLogLevel()

int32_t BSL_LOG_SetBinLogLevel ( uint32_t  level)

Set the level of binlogs.

注意
The level must be valid.
参数
level[IN] Level of the binlogs. The valid values are BSL_LOG_LEVEL_SEC, BSL_LOG_LEVEL_FATAL, BSL_LOG_LEVEL_ERR, BSL_LOG_LEVEL_WARN, BSL_LOG_LEVEL_INFO, BSL_LOG_LEVEL_DEBUG
返回值
#BSL_SUCCESS.
BSL_LOG_ERR_BAD_PARAM,invalidinput parameter.