Simple logger class.