Minor in logging

This commit is contained in:
Michael Panchenko committed 2025-06-17 02:20:02 +02:00
1 parent c9e84b2022
commit 3a20b076be
1 file changed
+1 -1
+1 -1
View File
@@ -227,7 +227,7 @@ class LanguageServer:
self.completions_available = asyncio.Event()
if config.trace_lsp_communication:
def logging_fn(source: str, target: str, msg: StringDict | str):
self.logger.log(f"LSP: {source} -> {target}: {str(msg)}", logging.DEBUG)
self.logger.log(f"LSP: {source} -> {target}: {str(msg)}", self.logger.logger.level)
else:
logging_fn = None