@synchronized(mlock)
    def setServerLogLevel(self, logLevel):
        #  not connected?
        if not self.m_connected:
            self.error(EClientErrors.NO_VALID_ID, EClientErrors.NOT_CONNECTED, "")
            return
        VERSION = 1
        #  send the set server logging level message
        try:
            self.send(self.SET_SERVER_LOGLEVEL)
            self.send(VERSION)
            self.send(logLevel)
        except Exception as e:
            self.error(EClientErrors.NO_VALID_ID, EClientErrors.FAIL_SEND_SERVER_LOG_LEVEL, str(e))
            self.close()
Replaces ``werkzeug.debug.utils.get_template()``.
dataset/ETHPy150Open CarterBain/Medici/ib/ext/EClientSocket.py/EClientSocket.setServerLogLevel--crossover with--dataset/ETHPy150Open moraes/tipfy/tipfy/debugger/__init__.py/get_template