added pimpl class to logger