Log Management API > BS2_StartMonitoringLog
Starts Real-time log streaming.
#include "BS_API.h" int BS2_StartMonitoringLog(void* context, uint32_t deviceId, OnLogReceived ptrLogReceived);
context
: ContextdeviceId
: Device IDptrLogReceived
: Callback function that is called when a new log is received
If successfully done, BS_SDK_SUCCESS
will be returned.
If there is an error, the corresponding error code will be returned.