-
Felix Lange authored
Rather than spawning a new goroutine for each message, run each log system in a dedicated goroutine. Ensure that logging is still asynchronous by using a per-system buffer (currently 500 messages). If it overflows all logging will hang, but that's better than spawning indefinitely many goroutines.
fd9b03a4
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| example_test.go | ||
| loggers.go | ||
| loggers_test.go |