def __init__(self): if type(self).Shepherd_error_log is None: type(self).Shepherd_error_log = get_logger(name="syslog") self.datasource_home = dirname(__import__("datasource").__file__) self.strategy_home = dirname(__import__("strategy").__file__) self.datasource = {} self.strategy = {}
def setlogger(cls): if cls.Query_logger is None: cls.Query_logger = get_logger("ECTrader")
def setlogger(cls): if cls.Interface_logger is None: cls.Interface_logger = get_logger("ECInterface")
def setlogger(cls): if cls.Query_logger is None: cls.Query_logger = get_logger("ECDataSource")
def setlogger(cls): if cls.Query_logger is None: cls.Query_logger = get_logger("Query")