@@ -917,7 +917,7 @@ extension SourceKitLSPServer {
917917 )
918918 )
919919 logger. log ( " Creating workspace at \( workspaceFolder. forLogging) " )
920- logger. logFullObjectInMultipleLogMessages ( header: " Options for workspace " , options. loggingProxy)
920+ logger. logFullObjectInMultipleLogMessages ( header: " Workspace options " , options. loggingProxy)
921921
922922 let workspace = await Workspace (
923923 sourceKitLSPServer: self ,
@@ -1003,7 +1003,7 @@ extension SourceKitLSPServer {
10031003 }
10041004
10051005 logger. log ( " Initialized SourceKit-LSP " )
1006- logger. logFullObjectInMultipleLogMessages ( header: " SourceKit-LSP Options " , options. loggingProxy)
1006+ logger. logFullObjectInMultipleLogMessages ( header: " Global options " , options. loggingProxy)
10071007
10081008 await workspaceQueue. async { [ hooks] in
10091009 if let workspaceFolders = req. workspaceFolders {
@@ -2822,27 +2822,3 @@ fileprivate extension URL {
28222822 return other. pathComponents [ 0 ..< self . pathComponents. count] == self . pathComponents [ ... ]
28232823 }
28242824}
2825-
2826- extension SourceKitLSPOptions {
2827- /// We can't conform `SourceKitLSPOptions` to `CustomLogStringConvertible` because that would require a public import
2828- /// of `SKLogging`. Instead, define an internal type that performs the logging of `SourceKitLSPOptions`.
2829- struct LoggingProxy : CustomLogStringConvertible {
2830- let options : SourceKitLSPOptions
2831-
2832- var description : String {
2833- options. prettyPrintedJSON
2834- }
2835-
2836- var redactedDescription : String {
2837- options. prettyPrintedRedactedJSON
2838- }
2839- }
2840-
2841- var loggingProxy : LoggingProxy {
2842- LoggingProxy ( options: self )
2843- }
2844-
2845- var forLogging : CustomLogStringConvertibleWrapper {
2846- return self . loggingProxy. forLogging
2847- }
2848- }
0 commit comments