mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
bca33d818f
The log method only needed the lock because it accessed version. By using an atomic instead of a lock, we can remove the risk that the comments call out, making log safer to use. Also updates the log name to match the function names, and adds some comments about how the lock is used.