This function takes the following parameters:
Opaque handle to the log record.
Key value pairs to be set in the log record.