Modified the Log class to allow simpler logging.