op-geth/ethlog
Felix Lange fd9b03a431 ethlog: fix concurrency
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.
2014-10-17 17:23:29 +02:00
..
example_test.go ethlog: use Godoc for code examples in documentation 2014-10-17 17:20:44 +02:00
loggers.go ethlog: fix concurrency 2014-10-17 17:23:29 +02:00
loggers_test.go ethlog: simplify LogSystem interface 2014-10-17 17:23:29 +02:00