jw-python/tools/python/jwutils
Jan Lindemann 748b850532 log.set_level(): Return current flags
Make log.set_level() return the flags that were set before setting
the flags passed as argument.

Support None as flags argument, in which case it doesn't change
anything and only returns the currently set flags.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-06-03 15:17:08 +02:00
..
algo Fix bogus type errors dug up by mypy 2024-06-02 12:05:44 +02:00
asyncio Add Process and Signals support 2019-10-29 11:25:03 +01:00
auth Fix errors reported by mypy 2025-04-29 11:54:56 +02:00
db Fix errors reported by mypy 2025-04-29 11:54:56 +02:00
stree stree.StringTree.find(): Add method 2025-05-29 12:05:10 +02:00
ArgsContainer.py ArgsContainer: Add class 2025-05-16 06:52:45 +02:00
cast.py cast.cast_str_to_timedelta(): Add conversion method 2025-05-28 11:12:49 +02:00
Cmd.py Cmds / Cmd: Add comments and debug logging 2025-02-02 14:01:21 +01:00
Cmds.py cmd.Cmds: Support --backtrace 2025-05-30 15:53:43 +02:00
Config.py stree.StringTree.find(): Add method 2025-05-29 12:05:10 +02:00
CppState.py Add forgotten jwutils/CppState.py 2019-06-03 10:00:04 +02:00
log.py log.set_level(): Return current flags 2025-06-03 15:17:08 +02:00
Makefile Rename the MODDIR makefile variable to JWBDIR 2019-06-29 23:32:20 +02:00
misc.py misc: Add load_function() 2025-01-29 16:54:10 +01:00
multi_key_dict.py Add multi_key_dict.py 2020-04-13 15:14:52 +02:00
Object.py Fix Python errors reported by mypy 2020-04-10 14:17:15 +02:00
Process.py Add type annotations from monkeytype + jw-devops/test 2020-04-10 17:55:36 +02:00
RedirectStdIO.py Rename MuteStdIO to RedirectStdIO 2017-07-26 11:40:35 +02:00
Signals.py Fix Python errors reported by mypy 2020-04-10 14:17:15 +02:00
StopWatch.py StopWatch: Fix compilation error 2024-12-03 13:34:26 +01:00