'Sets the verbosity of ``pwntools`` logging mechanism.
More specifically it controls the filtering of messages that happens
inside the handler for logging to the screen. So if you want e.g. log
all messages to a file, then this attribute makes no difference to you.
Valid values are specified by the standard Python ``logging`` module.
Default value is set to ``INFO``.
Examples:
>>> context.log_level = \'error\'
>>> context.log_level == logging.ERROR
True
>>> context.log_level = 10
>>> context.log_level = \'foobar\' #doctest: +ELLIPSIS
Traceback (most recent call last):
AttributeError: log_level must be an integer or one of [\'CRITICAL\', \'DEBUG\', \'ERROR\', \'INFO\', \'NOTSET\', \'WARN\', \'WARNING\']'

@_validator
def log_level(self, value):

    try:
        return int(value)
    except ValueError:
        pass
    try:
        return getattr(logging, value.upper())
    except AttributeError:
        pass
    level_names = filter((lambda x: isinstance(x, str)), logging._levelNames)
    permitted = sorted(level_names)
    raise AttributeError(('log_level    must    be    an    integer    or    one    of    %r' % permitted))
