Added logger for logging framerate