diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-21 01:01:05 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-21 01:01:05 +0800 |
commit | f4e9638867f5dab01eeb6db5fdbd85737a11fbd6 (patch) | |
tree | 8d8cbfeb2533a2b84e5f0927e9bfdd688cdffbb2 /blockpool/test/logger.go | |
parent | 54dac59285ccc6a3af47201479ca556da2899e93 (diff) | |
parent | ecd10d2cf765072cd74347b9e0ca2bb85091450f (diff) | |
download | go-tangerine-f4e9638867f5dab01eeb6db5fdbd85737a11fbd6.tar go-tangerine-f4e9638867f5dab01eeb6db5fdbd85737a11fbd6.tar.gz go-tangerine-f4e9638867f5dab01eeb6db5fdbd85737a11fbd6.tar.bz2 go-tangerine-f4e9638867f5dab01eeb6db5fdbd85737a11fbd6.tar.lz go-tangerine-f4e9638867f5dab01eeb6db5fdbd85737a11fbd6.tar.xz go-tangerine-f4e9638867f5dab01eeb6db5fdbd85737a11fbd6.tar.zst go-tangerine-f4e9638867f5dab01eeb6db5fdbd85737a11fbd6.zip |
Merge branch 'ethersphere-frontier/blockpool' into conversion
Diffstat (limited to 'blockpool/test/logger.go')
-rw-r--r-- | blockpool/test/logger.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/blockpool/test/logger.go b/blockpool/test/logger.go index 8b776e0b5..bcb4d4cb3 100644 --- a/blockpool/test/logger.go +++ b/blockpool/test/logger.go @@ -9,6 +9,8 @@ import ( "github.com/ethereum/go-ethereum/logger" ) +// logging in tests + var once sync.Once /* usage: @@ -19,7 +21,7 @@ func TestFunc(t *testing.T) { */ func LogInit() { once.Do(func() { - var logsys = logger.NewStdLogSystem(os.Stdout, log.LstdFlags, logger.LogLevel(logger.DebugDetailLevel)) + var logsys = logger.NewStdLogSystem(os.Stdout, log.LstdFlags, logger.LogLevel(logger.WarnLevel)) logger.AddLogSystem(logsys) }) } |