added new logging method to Log class