Added Log method