Skip to content

Commit 9335e18

Browse files
committed
Log when a notification gets sent to the LSP client
1 parent e184dc0 commit 9335e18

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)