Enable logs reporting

This commit is contained in:
2024-10-05 11:47:41 +02:00
parent cc63906ec1
commit 17f8931f0f
3 changed files with 88 additions and 0 deletions

View File

@ -29,6 +29,17 @@ extern "C"
DevEnrollValidated = 3,
};
/**
* Log message severity
*/
enum LogMessageSeverity
{
Debug = 0,
Info,
Warn,
Error
};
/**
* Get current device enrollment status
*/
@ -45,6 +56,11 @@ extern "C"
*/
char *secure_api_get_dev_certificate();
/**
* Report log message to backend
*/
void secure_api_report_log_message(enum LogMessageSeverity severity, const char *msg);
/**
* Synchronise device with central backend
*