Closed kfsone closed 3 months ago
Could you update the color using logger.level()
?
logger.level("DEBUG", color="<dim>")
YES! Might be worth calling this out in the section on color customization, somehow my read thru of the documentation actually lead me away from that.
In theory:
works, up until someone else imports loguru first.
Is there an extant mechanism to that lets me cause a logger to rebuild its color table? Or if I'm desperate to control it, do I just play whackamole with logger._core.levels[x].color?