Issue: When setting the --debug flag, the output is overflown by logs from dependencies like numba and other packages. This makes it difficult to focus on logs relevant to segger.
It might be better if the --debug flag increases logging verbosity for segger scripts only.
Proposed:
- Add a new parameter to
setup_logger() to control logging specifically for segger.
- Add a
SEGGER_LOG_LEVEL environment variable to control this on a global level too.
Issue: When setting the
--debugflag, the output is overflown by logs from dependencies like numba and other packages. This makes it difficult to focus on logs relevant to segger.It might be better if the
--debugflag increases logging verbosity for segger scripts only.Proposed:
setup_logger()to control logging specifically for segger.SEGGER_LOG_LEVELenvironment variable to control this on a global level too.