Add log when method called