

def write(msg, level, html=False):
    'Writes the message to the log file using the given level.\n\n    Valid log levels are `TRACE`, `DEBUG`, `INFO` and `WARN`. Instead\n    of using this method, it is generally better to use the level\n    specific methods such as `info` and `debug`.\n    '
    if (threading.currentThread().getName() in LOGGING_THREADS):
        LOGGER.log_message(Message(msg, level, html))

dataset/ETHPy150Open shellderp/sublime-robot-plugin/lib/robot/api/logger.py write/original