mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-12 18:16:43 +00:00
Fix log statement
This commit is contained in:
1 parent
3f06d621cf
commit
fd8bd8d064
1 file changed
+1
-1
@@ -532,7 +532,7 @@ class CSharpLanguageServer(SolidLanguageServer):
|
||||
# Map LSP message types to Python logging levels
|
||||
level_map = {1: logging.ERROR, 2: logging.WARNING, 3: logging.INFO, 4: logging.DEBUG} # Error # Warning # Info # Log
|
||||
|
||||
log.info(f"LSP: {message_text}", level_map.get(level, logging.DEBUG))
|
||||
log.log(level_map.get(level, logging.DEBUG), f"LSP: {message_text}")
|
||||
|
||||
def handle_progress(params: dict) -> None:
|
||||
"""Handle progress notifications from the language server."""
|
||||
|
||||
Reference in new issue
Block a user