Added logging method - attaches current time with the log