async def log_and_show_status_message_to_client(self, message: str, short_message: Optional[str]=None, level: lsp.MessageType=lsp.MessageType.INFO, fallback_to_notification: bool=False) -> None:
    log_message = (message if (short_message is None) else f'[{short_message}] {message}')
    if (level == lsp.MessageType.ERROR):
        LOG.error(log_message)
    elif (level == lsp.MessageType.WARNING):
        LOG.warning(log_message)
    elif (level == lsp.MessageType.INFO):
        LOG.info(log_message)
    else:
        LOG.debug(log_message)
    (await self.show_status_message_to_client(message, short_message, level, fallback_to_notification))
async def log_and_show_status_message_to_client(self, message: str, short_message: Optional[str]=None, level: lsp.MessageType=lsp.MessageType.INFO, fallback_to_notification: bool=False) -> None:
    log_message = (message if (short_message is None) else f'[{short_message}] {message}')
    if (level == lsp.MessageType.ERROR):
        LOG.error(log_message)
    elif (level == lsp.MessageType.WARNING):
        LOG.warning(log_message)
    elif (level == lsp.MessageType.INFO):
        LOG.info(log_message)
    else:
        LOG.debug(log_message)
    (await self.show_status_message_to_client(message, short_message, level, fallback_to_notification))