Closed AlekSi closed 8 years ago
@vishr poke
@AlekSi: Will get back to this, really busy with echo v2 and other stuff.
@vishr poke
@AlekSi Thanks for the long wait. You need to re-do your PR as it has conflicts.
This PR merely demonstrates the problem, not fixes it. I'm not sure why you are not using Color instances.
I am open for PR ;)
If you don't have a specific reason to not use separate instances, then I can fix it.
We should be good with color field for logger - I can't remember why I didn't have this.
Closed in favor of #6
Specifically, New() is not thread-safe due to use of exported color functions instead of using own Color instance. Pull request adds test to show that.