Update to new logging library, using sampling participant logger (#1219)

This commit is contained in:
David Zhao
2022-12-09 00:09:03 -08:00
committed by GitHub
parent 57ce032cfe
commit 7a1273151f
23 changed files with 81 additions and 78 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ import (
)
func Test_sequencer(t *testing.T) {
seq := newSequencer(500, 0, logger.GetDefaultLogger())
seq := newSequencer(500, 0, logger.GetLogger())
off := uint16(15)
for i := uint16(1); i < 518; i++ {
@@ -84,7 +84,7 @@ func Test_sequencer_getNACKSeqNo(t *testing.T) {
for _, tt := range tests {
tt := tt
t.Run(tt.name, func(t *testing.T) {
n := newSequencer(5, 10, logger.GetDefaultLogger())
n := newSequencer(5, 10, logger.GetLogger())
for _, i := range tt.fields.input {
n.push(i, i+tt.fields.offset, 123, 3)