Convert logged data from array-like object to array.
Log data to console as well.