log_open

Initialize RAPLogging API.

Call this method before any other API in the RAPLogging API, and call it only once.

Syntax

uint16_t log_open( char * filepath , uint16_t log_level);

Parameters

Returns

uint16_t error_code

An error code or ERR_NONE (value 0).