Add a method to clear the log