- Deprecate the
ansi
parameter of.opt()
in favor ofcolors
which is a name more appropriate. - Prevent unrelated files and directories to be incorrectly collected thus causing errors during the
retention
process (#195, thanks @gazpachoking). - Strip color markups contained in
record["message"]
when logging with.opt(ansi=True)
instead of leaving them as is (#198). - Ignore color markups contained in
*args
and**kwargs
when logging with.opt(ansi=True)
, leave them as is instead of trying to use them to colorize the message which could cause undesirable errors (#197).