remove debug logs

This commit is contained in:
c9s 2020-11-17 13:25:59 +08:00
parent 4bda1fee08
commit 03d99a4cab

View File

@ -309,15 +309,13 @@ func (s *Stream) read(ctx context.Context) {
s.EmitBalanceUpdateEvent(e) s.EmitBalanceUpdateEvent(e)
case *KLineEvent: case *KLineEvent:
log.Debug(e.Event, " ", e.KLine, " ", e.KLine.Interval)
s.EmitKLineEvent(e) s.EmitKLineEvent(e)
case *DepthEvent: case *DepthEvent:
log.Debug(e.Event, " ", "asks:", e.Asks[:2], "bids:", e.Bids[:2])
s.EmitDepthEvent(e) s.EmitDepthEvent(e)
case *ExecutionReportEvent: case *ExecutionReportEvent:
log.Debug(e.Event, " ", e) log.Info(e.Event, " ", e)
s.EmitExecutionReportEvent(e) s.EmitExecutionReportEvent(e)
} }
} }