Skip to content

Make pkg/log facility threadsafe

Niels Möller requested to merge threadsafe-log into main

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.

Merge request reports

Loading