Commit Graph

8 Commits

Author SHA1 Message Date
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
6465e4c3fd update doc: list levels and show usage of named print methods 2014-06-25 16:38:42 +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