Logger class added for logging function calls