Function Snpe_Util_TerminateLogging

Function Documentation

int Snpe_Util_TerminateLogging()

Terminates logging.

It is recommended to terminateLogging after initializeLogging in order to disable logging information. If this is called before initialization or after first time termination, calls are ignored.

Returns

Boolean: non-zero if successful, 0 otherwise.

Warning

Snpe_Util_TerminateLogging() must not be called while another thread is executing. In a multi-threaded use case, the individual threads must have a cooperative life cycle management strategy for the logger.