Added LOG API to read variable from within the coper