Physlogger: A low-cost data logging device for physics laboratory