unifiying the logger