Sets the logging verbosity used via ``context.log_level``, e.g. ``LOG_LEVEL=debug``.
(x)
| 110 | raise ValueError('must be integer or boolean: %r' % s) |
| 111 | |
| 112 | def 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 | |
| 119 | def LOG_FILE(x): |
| 120 | """Sets a log file to be used via ``context.log_file``, e.g. |