Added debugging logging function