MCPcopy
hub / github.com/Gallopsled/pwntools / LOG_LEVEL

Function LOG_LEVEL

pwnlib/args.py:112–117  ·  view source on GitHub ↗

Sets the logging verbosity used via ``context.log_level``, e.g. ``LOG_LEVEL=debug``.

(x)

Source from the content-addressed store, hash-verified

110 raise ValueError('must be integer or boolean: %r' % s)
111
112def LOG_LEVEL(x):
113 """Sets the logging verbosity used via ``context.log_level``,
114 e.g. ``LOG_LEVEL=debug``.
115 """
116 with context.local(log_level=x):
117 context.defaults['log_level']=context.log_level
118
119def LOG_FILE(x):
120 """Sets a log file to be used via ``context.log_file``, e.g.

Callers 2

SILENTFunction · 0.85
DEBUGFunction · 0.85

Calls 1

localMethod · 0.45

Tested by

no test coverage detected