when deciding logType, will consider the first object