Skip to content

log is not thread-safe#4

Closed
AlekSi wants to merge 1 commit intolabstack:masterfrom
AlekSi:master
Closed

log is not thread-safe#4
AlekSi wants to merge 1 commit intolabstack:masterfrom
AlekSi:master

Conversation

@AlekSi
Copy link
Contributor

@AlekSi AlekSi commented Dec 25, 2015

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.

@AlekSi
Copy link
Contributor Author

AlekSi commented Dec 31, 2015

@vishr poke

@vishr
Copy link
Member

vishr commented Dec 31, 2015

@AlekSi: Will get back to this, really busy with echo v2 and other stuff.

@AlekSi
Copy link
Contributor Author

AlekSi commented Feb 9, 2016

@vishr poke

@vishr
Copy link
Member

vishr commented Feb 9, 2016

@AlekSi Thanks for the long wait. You need to re-do your PR as it has conflicts.

@AlekSi
Copy link
Contributor Author

AlekSi commented Feb 9, 2016

This PR merely demonstrates the problem, not fixes it. I'm not sure why you are not using Color instances.

@vishr
Copy link
Member

vishr commented Feb 9, 2016

I am open for PR ;)

@AlekSi
Copy link
Contributor Author

AlekSi commented Feb 9, 2016

If you don't have a specific reason to not use separate instances, then I can fix it.

@vishr
Copy link
Member

vishr commented Feb 9, 2016

We should be good with color field for logger - I can't remember why I didn't have this.

@AlekSi
Copy link
Contributor Author

AlekSi commented Feb 9, 2016

Closed in favor of #6

@AlekSi AlekSi closed this Feb 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants