Updated Logger class to keep track of matches