connectordb/logger.py
def connectordb(self):
        """Returns the ConnectorDB object that the logger uses. Raises an error if Logger isn't able to connect"""
        if self.__cdb is None:
            logging.debug("Logger: Connecting to " + self.serverurl)
            self.__cdb = ConnectorDB(self.apikey, url=self.serverurl)
        return self.__cdb
def connectordb(self):
        if self.__cdb is None:
            logging.debug("Logger: Connecting to " + self.serverurl)
            self.__cdb = ConnectorDB(self.apikey, url=self.serverurl)
        return self.__cdb
def connectordb ( self ) : if self . __cdb is None : logging . debug ( "Logger: Connecting to " + self . serverurl ) self . __cdb = ConnectorDB ( self . apikey , url = self . serverurl ) return self . __cdb
Returns the ConnectorDB object that the logger uses. Raises an error if Logger isn't able to connect
Returns the ConnectorDB object that the logger uses . Raises an error if Logger isn t able to connect