'åloggeræ³šå'

def registerToLogger(self, uid):

    msg = Define.BytesIO()
    msg.write(struct.pack('=H', Logger_registerLogWatcher))
    msg.write(struct.pack('=H', struct.calcsize((('=iIiiccB' + ('i' * Define.COMPONENT_END_TYPE)) + 'BB'))))
    msg.write(struct.pack('=i', uid))
    msg.write(struct.pack('=I', 4294967295))
    msg.write(struct.pack('=iicc', 0, 0, '\x00'.encode(), '\x00'.encode()))
    msg.write(struct.pack('=B', Define.COMPONENT_END_TYPE))
    msg.write(struct.pack(('=' + ('i' * Define.COMPONENT_END_TYPE)), *list(range(Define.COMPONENT_END_TYPE))))
    msg.write(struct.pack('=BB', 0, 1))
    self.socket.sendall(msg.getvalue())
