mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-14 22:01:20 +00:00
Undo testing_logger change, committed by mistake
This commit is contained in:
@ -30,6 +30,10 @@ func TestingLogger() Logger {
|
|||||||
// inside a test (not in the init func) because
|
// inside a test (not in the init func) because
|
||||||
// verbose flag only set at the time of testing.
|
// verbose flag only set at the time of testing.
|
||||||
func TestingLoggerWithOutput(w io.Writer) Logger {
|
func TestingLoggerWithOutput(w io.Writer) Logger {
|
||||||
|
if _testingLogger != nil {
|
||||||
|
return _testingLogger
|
||||||
|
}
|
||||||
|
|
||||||
if testing.Verbose() {
|
if testing.Verbose() {
|
||||||
_testingLogger = NewTMLogger(NewSyncWriter(w))
|
_testingLogger = NewTMLogger(NewSyncWriter(w))
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user