Added virtual and copy constructor to logger