MCPcopy Create free account
hub / github.com/aaPanel/BaoTa / get_service_log

Method get_service_log

mod/project/python/serviceMod.py:591–598  ·  view source on GitHub ↗
(self, sid: str)

Source from the content-addressed store, hash-verified

589 return None
590
591 def get_service_log(self, sid: str) -> Tuple[bool, str]:
592 conf = self._get_service_conf_by_sid(sid)
593 if conf is None:
594 return False, "未找到该服务"
595 service = self._build_service_by_conf(conf)
596 if isinstance(service, str):
597 return False, service
598 return True, service.get_log()
599
600 def get_services_info(self) -> List[dict]:
601 res = []

Callers

nothing calls this directly

Calls 3

get_logMethod · 0.45

Tested by

no test coverage detected