Updated logging macro for linux