Adding Demo for getLog method