diff options
author | zelig <viktor.tron@gmail.com> | 2014-06-23 19:49:04 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2014-06-23 19:49:04 +0800 |
commit | 8e9cc3697944c3e568186a5c23ac729f6eb4a1f4 (patch) | |
tree | 96f3b55f7496a2889e0efa302fb03dfd81d5592c /ethminer/miner.go | |
parent | 0251fae5ccf6984c558d59cd2b36ef89116c061e (diff) | |
download | go-tangerine-8e9cc3697944c3e568186a5c23ac729f6eb4a1f4.tar go-tangerine-8e9cc3697944c3e568186a5c23ac729f6eb4a1f4.tar.gz go-tangerine-8e9cc3697944c3e568186a5c23ac729f6eb4a1f4.tar.bz2 go-tangerine-8e9cc3697944c3e568186a5c23ac729f6eb4a1f4.tar.lz go-tangerine-8e9cc3697944c3e568186a5c23ac729f6eb4a1f4.tar.xz go-tangerine-8e9cc3697944c3e568186a5c23ac729f6eb4a1f4.tar.zst go-tangerine-8e9cc3697944c3e568186a5c23ac729f6eb4a1f4.zip |
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
Diffstat (limited to 'ethminer/miner.go')
0 files changed, 0 insertions, 0 deletions