Added logger class and log level enum.