-
Notifications
You must be signed in to change notification settings - Fork 2
EmitLog
anatol edited this page Jul 13, 2021
·
1 revision
uint32_t EmitLog(const void* pKey , uint32_t nKey , const void* pVal , uint32_t nVal , uint8_t nType);
Emits new log record denoted by {nType, [pKey, nKey]}
-
pKey
: pointer to the key. Key could be any kind of data -
nKey
: the size of the key -
pVal
: pointer to the value buffer -
nVal
: the size of the value buffer -
nType
: the type of the variable
- the previous size of the value of the variable
- 0 if there was no such a variable
- Will
Halt()
if either variable key or value is invalid (too long).