Adds a log fragment