diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-10-19 18:39:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-19 18:39:17 +0800 |
commit | 1f7491df37caf974ffa0c824c4c02a8fe2aafcd9 (patch) | |
tree | 55c6e653c3d78ab34e3fbe8627ba1c0a62cb53a8 /integration_test | |
parent | bec97aadfa95ebb42ef042bd53c7976ae410c496 (diff) | |
download | dexon-consensus-1f7491df37caf974ffa0c824c4c02a8fe2aafcd9.tar dexon-consensus-1f7491df37caf974ffa0c824c4c02a8fe2aafcd9.tar.gz dexon-consensus-1f7491df37caf974ffa0c824c4c02a8fe2aafcd9.tar.bz2 dexon-consensus-1f7491df37caf974ffa0c824c4c02a8fe2aafcd9.tar.lz dexon-consensus-1f7491df37caf974ffa0c824c4c02a8fe2aafcd9.tar.xz dexon-consensus-1f7491df37caf974ffa0c824c4c02a8fe2aafcd9.tar.zst dexon-consensus-1f7491df37caf974ffa0c824c4c02a8fe2aafcd9.zip |
core: initial commit for logger (#228)
* Replace "log.*" with logger.
* Add simple logger to log with log package.
* Add debug logs to all calls to these interfaces:
- core.Application
- core.Governance
- core.Network
* Add Stringer to these types:
- types.DKGComplaint
- types.AgreementResult
- types.DKGMasterPublicKey
- types.DKGFinalize
Diffstat (limited to 'integration_test')
-rw-r--r-- | integration_test/node.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/integration_test/node.go b/integration_test/node.go index 09d1557..b6704e8 100644 --- a/integration_test/node.go +++ b/integration_test/node.go @@ -121,7 +121,8 @@ func NewNode( core.NewAuthenticator(privateKey), app, app, - db), + db, + &common.NullLogger{}), } } |