Tags each line in a multiline log with numbers