Adds a name and threshold property to the log. Updates the tests to reflect this.