Updated logging function