Bring back the logger function