Add format checking to ARLog method