def log(msg, status='info'): """ ```python input: str return: None ``` Wrapper around log object to verify that output from GUI is going to gui.log """ log.log(status)(msg, log.LogType.gui)
def log(self, msg, status): """ ```python input: str, LogType return: None ``` Wrapper around log function for easy redirecting of server stdout to file. """ log.log(status)(msg=msg, to=log.LogType.server)
def log(self, msg, status): """ ```python input: str, LogType return: None ``` Wrapper around log for quick logging api calls """ log.log(status)(msg=msg, to=log.LogType.gui)
def join(self): for name, thread in self.__threads.items(): log("info")(f"Waiting for thread: `{name}`` to finish", LogType.gui) thread.join()
def log(self, msg, status): log.log(status)(msg=msg, to=log.LogType.gui)
def log(self, msg, status='info'): log.log(status)(msg, log.LogType.gui)