From 1b17eac10e413f4b953d945a35d97824759528f2 Mon Sep 17 00:00:00 2001 From: Thomas Krajacic Date: Tue, 19 Feb 2019 12:01:59 +0100 Subject: [PATCH] Add newline to String being written (#47) --- Sources/ExampleImplementation/FileLogHandler.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ExampleImplementation/FileLogHandler.swift b/Sources/ExampleImplementation/FileLogHandler.swift index 98aa1b1..009c952 100644 --- a/Sources/ExampleImplementation/FileLogHandler.swift +++ b/Sources/ExampleImplementation/FileLogHandler.swift @@ -65,6 +65,6 @@ private class FileHandler { } func _write(_ text: String) { - write(self.fd, text, text.utf8.count) + write(self.fd, text + "\n", text.utf8.count + 1) } }