WIPACrepo / wipac-dev-tools

Common, basic, and reusable development tools
MIT License
0 stars 0 forks source link

Deprecate `use_coloredlogs` and Replace with `formatter` [minor] #105

Closed ric-evans closed 3 months ago

ric-evans commented 3 months ago

For logging_tools.set_level():

Aside from its format, I haven't found the coloredlogs package all that helpful. The use_coloredlogs is now deprecated, and formatter has been added. Setting this to logging_tools.WIPACDevToolsFormatter will get a similar format. For backward compatibility, using use_coloredlogs will log a warning, and use logging_tools.WIPACDevToolsFormatter.