#NEWLINE# def _prettyformat_lines( lines ) : #NEWLINE# #INDENT# '\n    Pretty format lines of Eliot logs.\n    ' #NEWLINE# for line in lines : #NEWLINE# #INDENT# data = json . loads ( line ) #NEWLINE# ( yield ( pretty_format ( data ) + '\n' ) )