def log_message(log_handler, level, message):
    try:
        handler_method = getattr(log_handler, level)
        handler_method(message)
    except __HOLE__:
        pass
dataset/ETHPy150Open evfredericksen/pynacea/pynhost/pynhost/utilities.py/log_message