Commit Graph

5 Commits

Author SHA1 Message Date
zelig 78cff9e3a4 independent flag for json structured logging
- logjson flag remove logformat flag
- passed to eth Config
- logsystem not a field of Ethereum
- LogSystem does not need to expose GetLogLevel/SetLogLevel
- message struct just implements more generic LogMsg interface
- LogMsg is a fmt.Stringer with Level()
- jsonMsg ([]byte) implements LogMsg
- remove "raw" systems
- move level logic inside StdLogSystem
- logsystems only print their kind of msg: jsonLogSystem prints jsonMsg, StdLogSystem prints stdMsg
2015-03-22 02:16:54 +00:00
Taylor Gerring 9edb9a21bc Add json LogSystem #538 2015-03-21 07:26:44 +01:00
obscuren b523441361 Moved ethutil => common 2015-03-16 11:27:38 +01:00
Taylor Gerring bdf99e0981 Add LogFormat flag 2015-01-21 10:17:07 -06:00
obscuren 09841b1c9b Cleaned up some of that util 2015-01-04 14:20:16 +01:00