added basic logger class