This looks great, only thing is that it modifies the record permanently, such that other handlers will receive the record stripped.

That's why I save `name` and `levelname` before coloring them, and then restore after formatting.