Closed niv closed 2 years ago
I agree. It would be nice to be able to specify the logging. For now I use something like this:
if logging.getHandlers().len() > 0:
for logger in getHandlers():
logger.fmtStr = "[$datetime] - $levelname: "
logger.levelThreshold = (when defined(release): lvlInfo else: lvlAll)
I have a PR for this one on my to-do list. @dom96, do you have any preferences to a solution?
@ThomasTJdev would like to see your changes for the fix, had you closed the PR?
@ohPaco I have not started on it yet. I would prefer to have dom96's thoughts on a preferable solution before starting.
@ThomasTJdev understood. @dom96 would you be able to comment on this issue?
I'm not sure what options there are. I would need to have a look to know. If you guys had a look and have some ideas let me know and we can discuss which one would be best.
I'm not sure what options there are. I would need to have a look to know. If you guys had a look and have some ideas let me know and we can discuss which one would be best.
@ThomasTJdev having looked into the issue, do you have any ideas?