updated logger class