Added the LogEntry class and its corresponding test class