Added logger class.