mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 18:16:10 +00:00
Minor in logging
This commit is contained in:
1 parent
c9e84b2022
commit
3a20b076be
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user