Updated the Logger class.