def METHOD_NAME(self, message):
    message = rpyc.classic.obtain(message)
    record = message.record
    level, message = record['level'].name, record['message']
    logger.patch(lambda r: r.update(record)).log(level, message)