The safelog Write function can be called from multiple go routines, and it was not thread safe. These locks in particular allow us to pass the logscrubber's output io.Writer to other libraries, such as pion. |
||
|---|---|---|
| .. | ||
| log.go | ||
| log_test.go | ||
The safelog Write function can be called from multiple go routines, and it was not thread safe. These locks in particular allow us to pass the logscrubber's output io.Writer to other libraries, such as pion. |
||
|---|---|---|
| .. | ||
| log.go | ||
| log_test.go | ||