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
modified logging API
- package vars for tagged loggers
- weed out spurious fmt.PrintX and log.PrintX logging
- tried to second guess loglevel for some :)
refactor config (transitional). Details:
- ReadConfig initialiser sets up global ethutil.Config via config file passed from wrappers
- does not write out adhoc default (not meant to) but creates empty config file if it does not exist so that globalconf does not complain if persists a flag
- default datadir and default config file set together with other flag defaults in wrappers
- default assetpath set together with other command line flags defaults in gui wrapper (not in ethutil.Config or ui/ui_lib)
- add EnvPrefix, to handle environment variable options too via globalconf
- this is still transitional: global Config should just be a wrapper around globalconfig config handler and should be moved to go-ethereum
- actual eth stack config should not be global instead config handled properly with explicit dependency injectioninto eth stack component instances
merge upstream
Merge remote-tracking branch 'upstream/develop' into feature/logging
implement DebugDetail loglevel and named print methods
update doc: list levels and show usage of named print methods
put back extra debug detail logging to the right places using logger.DebugDetailf
merge upstream
new logger API for upstream merge
space in miner logging message
ethereum logs server started/stopped message
merge upstream; fix port in use warning; new logger API
bump
go fmt
Merge branch 'ethersphere-feature/logging' into develop
Merge branch 'develop' into release/0.5.15
Merge branch 'release/0.5.15' into develop