Refactor Log API

It now assigns values based on column names for string and time columns