Log every complete line in a buffer