From 1f7491df37caf974ffa0c824c4c02a8fe2aafcd9 Mon Sep 17 00:00:00 2001 From: Mission Liao Date: Fri, 19 Oct 2018 18:39:17 +0800 Subject: 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 --- core/lattice_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/lattice_test.go') 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() { -- cgit v1.2.3