@@ -10,10 +10,7 @@ use tower_lsp::lsp_types;
1010use tracing:: error;
1111
1212/// Handler for `textDocument/didOpen` LSP notification
13- #[ tracing:: instrument( level = "info" , skip_all, fields(
14- url = params. text_document. uri. as_str( ) ,
15- version = params. text_document. version
16- ) , err) ]
13+ #[ tracing:: instrument( level = "debug" , skip( session) , err) ]
1714pub ( crate ) async fn did_open (
1815 session : & Session ,
1916 params : lsp_types:: DidOpenTextDocumentParams ,
@@ -41,11 +38,7 @@ pub(crate) async fn did_open(
4138}
4239
4340// Handler for `textDocument/didChange` LSP notification
44- #[ tracing:: instrument( level = "debug" , skip_all, fields(
45- uri = params. text_document. uri. as_str( ) ,
46- version = params. text_document. version,
47- num_content_changes = params. content_changes. len( )
48- ) , err) ]
41+ #[ tracing:: instrument( level = "debug" , skip( session) , err) ]
4942pub ( crate ) async fn did_change (
5043 session : & Session ,
5144 params : lsp_types:: DidChangeTextDocumentParams ,
@@ -97,9 +90,7 @@ pub(crate) async fn did_change(
9790}
9891
9992/// Handler for `textDocument/didClose` LSP notification
100- #[ tracing:: instrument( level = "info" , skip_all, fields(
101- url = params. text_document. uri. as_str( ) ,
102- ) , err) ]
93+ #[ tracing:: instrument( level = "debug" , skip( session) , err) ]
10394pub ( crate ) async fn did_close (
10495 session : & Session ,
10596 params : lsp_types:: DidCloseTextDocumentParams ,
0 commit comments