aboutsummaryrefslogtreecommitdiffstats
path: root/ethlog/loggers_test.go
Commit message (Collapse)AuthorAgeFilesLines
* merge upstreamzelig2014-07-151-7/+5
|\
| * Revert "ethreact - Feature/ethutil refactor"Jeffrey Wilcke2014-07-071-11/+12
| |
* | fix logger channel blockingzelig2014-07-151-0/+15
|/
* logger fixzelig2014-07-061-12/+11
| | | | | | | | | | - introduce quit, drained, shutdown channels - mainLoop falls through reading message channel to drained state, and waits is blocked in default branch until any message is sent - Flush() waits for <-drained - Stop() pushes quit and nodges mainloop out of blocking drained state - package-global mutex - Reset() - clear tests
* go fmtzelig2014-06-271-78/+72
|
* refactor logging. Details:zelig2014-06-231-0/+115
- packages use tagged logger sending log messages to shared (process-wide) logging engine - log writers (interface ethlog.LogSystem) can be added to the logging engine by wrappers/guis/clients - shared logging engine dispatching to multiple log systems - log level can be set separately per log system - async logging thread: logging IO does not block main thread - log messages are synchronously stringified to avoid incorrectly logging of changed states - README.md - loggers_test