adding a logger class