Make pkg/log facility threadsafe
The logger's configuration is modified by setter methods, e.g., SetLevel, which can race with other go routines writing log messages and accessing the same configuration. Use a mutex to synchronize access.
The logger's configuration is modified by setter methods, e.g., SetLevel, which can race with other go routines writing log messages and accessing the same configuration. Use a mutex to synchronize access.