Updated the API lib to include the variable values in the trace log

TODO: Checkout CHANGELOG file

Signed-off-by: Herbert <herberthb12@gmail.com>