Updated Logger class.