Added a simple logger class.