mirror of
https://github.com/neovim/neovim.git
synced 2026-05-03 12:35:00 +00:00
feat(lsp): add lsp healthcheck
Add healthcheck for language server client, currently only checks logging status.
This commit is contained in:
@@ -88,6 +88,11 @@ function log.set_level(level)
|
||||
end
|
||||
end
|
||||
|
||||
--- Gets the current log level.
|
||||
function log.get_level()
|
||||
return current_log_level
|
||||
end
|
||||
|
||||
--- Checks whether the level is sufficient for logging.
|
||||
---@param level number log level
|
||||
---@returns (bool) true if would log, false if not
|
||||
|
||||
Reference in New Issue
Block a user