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
Taylor Gerring
622bfd4f08 Check LogSystem type 2015-01-21 10:58:09 -06:00
Taylor Gerring
ed7d7b405e Split file cleanup 2015-01-21 10:26:54 -06:00
Taylor Gerring
7f9c335487 Split into multiple files 2015-01-21 10:04:11 -06:00