estk/log4rs

Refactor COLOR_MODE to OnceCell

bconn98 opened this issue · 0 comments

Refactor COLOR_MODE from lazy_static to OnceCell to make it more easily testable. To maintain backward compatibility of ~1 year, once_cell can be used until MSRV reaches 1.71 when OnceCell becomes available in std library.