Skip to content

Commit 1eb459e

Browse files
committed
Elevate the log level for messages that record which toolchain was used for a document
This is some fairly essential information for troubleshooting and should be logged at the same level as the build settings for a file.
1 parent ec5c614 commit 1eb459e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SourceKitLSP/SourceKitLSPServer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ public actor SourceKitLSPServer {
821821
return nil
822822
}
823823

824-
logger.info("Using toolchain \(toolchain.displayName) (\(toolchain.identifier)) for \(uri.forLogging)")
824+
logger.log("Using toolchain \(toolchain.displayName) (\(toolchain.identifier)) for \(uri.forLogging)")
825825

826826
if let concurrentlySetService = workspace.documentService[uri] {
827827
// Since we await the construction of `service`, another call to this

0 commit comments

Comments
 (0)