new logging method less lines