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 /core/lattice_test.go | |
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 'core/lattice_test.go')
-rw-r--r-- | core/lattice_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/lattice_test.go b/core/lattice_test.go index 5c06b92..a508f2b 100644 --- a/core/lattice_test.go +++ b/core/lattice_test.go @@ -121,7 +121,8 @@ func (s *LatticeTestSuite) newTestLatticeMgr( NewAuthenticator(prvKey), app, app, - db)} + db, + &common.NullLogger{})} } func (s *LatticeTestSuite) TestBasicUsage() { |