Commit Graph

13 Commits

Author SHA1 Message Date
Felix Lange 4e95cecfb9 ethlog: improve dispatch concurrency
This also fixes a deadlock in the tests.
2014-10-17 17:20:43 +02:00
zelig 1e4af85a38 merge upstream 2014-07-21 13:26:29 +01:00
obscuren 2762ec22d0 Fixed miner and logger 2014-07-18 13:50:15 +02:00
zelig d1c89727dc fix send overwritten by merge 2014-07-14 19:02:34 +01:00
zelig 3d5db7288f merge upstream 2014-07-14 18:50:06 +01:00
zelig 5c03adbded fix logger channel blocking 2014-07-14 18:37:01 +01:00
obscuren e4e704f480 Fix quit 2014-07-07 16:05:59 +02:00
Jeffrey Wilcke 6fe9b4ab5e Revert "ethreact - Feature/ethutil refactor" 2014-07-07 10:59:16 +02:00
zelig d4300c406c logger fix
- 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
2014-07-05 19:11:08 +01:00
obscuren 329887df99 Fixed crazy looping 2014-07-05 13:24:26 +02:00
zelig 853053a3b2 go fmt 2014-06-26 18:45:57 +01:00
zelig e75f7ae330 implement DebugDetail loglevel and named print methods 2014-06-25 16:37:38 +01:00
zelig 8e9cc36979 refactor logging. Details:
- 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
2014-06-23 12:49:04 +01:00