logger class - maybe overbloated