mirror of
https://github.com/apple/swift-log
synced 2026-11-25 03:57:48 +00:00
Add newline to String being written (#47)
This commit is contained in:
1 parent
034334268a
commit
1b17eac10e
1 file changed
+1
-1
@@ -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)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user