jw-python/tools/python/jwutils
Jan Lindemann e48fa1b00a Cmds.py: Add early evaluation of --log-xxx
jwutils.log.set_flags() and .set_level() is not set until after all
commands are loaded. This can make debugging complicated. OTOH,
command-line parsing is also not done until all commands are loaded,
because they define the command line options. This commit adds some
poor man's command line parsing for fetching --log-level and
--log-flags only, and applying them before the commands are all
loaded.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-04 11:39:01 +02:00
..
algo Rename the MODDIR makefile variable to JWBDIR 2019-06-29 23:32:20 +02:00
asyncio Add Process and Signals support 2019-10-29 11:25:03 +01:00
stree StringTree: Add support for adding StringTree children 2020-04-04 11:35:26 +02:00
Cmd.py Consistently replace def run() by async def run() 2019-12-20 08:41:58 +01:00
Cmds.py Cmds.py: Add early evaluation of --log-xxx 2020-04-04 11:39:01 +02:00
CppState.py Add forgotten jwutils/CppState.py 2019-06-03 10:00:04 +02:00
log.py slog_m(): Support kwarg "caller" 2020-04-04 11:12:11 +02:00
Makefile Rename the MODDIR makefile variable to JWBDIR 2019-06-29 23:32:20 +02:00
misc.py Add misc.object_builtin_name() 2019-10-24 18:45:05 +02:00
Object.py Fix multiple Python 3 compatibility issues 2019-03-10 16:38:59 +01:00
Process.py Add Process and Signals support 2019-10-29 11:25:03 +01:00
RedirectStdIO.py Rename MuteStdIO to RedirectStdIO 2017-07-26 11:40:35 +02:00
Signals.py Add Process and Signals support 2019-10-29 11:25:03 +01:00