Altered factory method for client to accept logger