Skip to content

Commit 35f4685

Browse files
committed
Sligltly increased logging
1 parent 881fb94 commit 35f4685

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: handler/handler.go

+3
Original file line numberDiff line numberDiff line change
@@ -1094,12 +1094,15 @@ func (handler *InoHandler) transformClangdResult(method string, inoURI, cppURI l
10941094

10951095
if r.DocumentSymbolArray != nil {
10961096
// Treat the input as []DocumentSymbol
1097+
log.Printf(" <-- documentSymbol(%d document symbols)", len(*r.DocumentSymbolArray))
10971098
return handler.cpp2inoDocumentSymbols(*r.DocumentSymbolArray, inoURI)
10981099
} else if r.SymbolInformationArray != nil {
10991100
// Treat the input as []SymbolInformation
1101+
log.Printf(" <-- documentSymbol(%d symbol information)", len(*r.SymbolInformationArray))
11001102
return handler.cpp2inoSymbolInformation(*r.SymbolInformationArray)
11011103
} else {
11021104
// Treat the input as null
1105+
log.Printf(" <-- null documentSymbol")
11031106
}
11041107

11051108
case *[]lsp.CommandOrCodeAction:

0 commit comments

Comments
 (0)