Skip to content

Commit 1a7fcc8

Browse files
committed
Output a --- marker to mark the end of a log message in NonDarwinLogger
Figuring out where one log message ends and the next one starts is a little tricky. A `---` marker helped me a lot to find the boundary between two log messages.
1 parent 645b511 commit 1a7fcc8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/LSPLogging/NonDarwinLogging.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ public struct NonDarwinLogger {
291291
"""
292292
[\(subsystem):\(category)] \(level) \(dateFormatter.string(from: date))
293293
\(message().value.string(for: self.privacyLevel))
294+
---
294295
"""
295296
)
296297
}

0 commit comments

Comments
 (0)