Skip to content

Commit d6bce21

Browse files
authored
Merge pull request #1063 from ahoppen/ahoppen/log-notification-to-client
Log when a notification gets sent to the LSP client
2 parents 0ffc59b + 9335e18 commit d6bce21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/SourceKitLSP/SourceKitServer.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,7 @@ public actor SourceKitServer {
517517

518518
/// Send the given notification to the editor.
519519
public func sendNotificationToClient(_ notification: some NotificationType) {
520+
logger.log("Sending notification: \(notification.forLogging)")
520521
client.send(notification)
521522
}
522523

0 commit comments

Comments
 (0)