logging on functions on the functions logger