Function Snpe_Util_SetLogLevel¶
Defined in File SNPEUtil.h
Function Documentation¶
-
int Snpe_Util_SetLogLevel(Snpe_LogLevel_t level)¶
Updates the current logging level with the specified level. setLogLevel is optional, called anytime after initializeLogging and before terminateLogging, to update the log level set. Log levels can be updated multiple times by calling setLogLevel A call to setLogLevel() is ignored if it is made before initializeLogging() or after terminateLogging()
- Parameters
level – [in] Log level (LOG_INFO, LOG_WARN, etc.).
- Returns
Boolean: non-zero if successful, 0 otherwise.