diff --git a/logs/zap/entry_encoder_test.go b/logs/zap/entry_encoder_test.go index 01b8b51ce0bf9c8fc9b6a384dec97f82ab98c19c..8e429674f3cf38021f65a7909f48b532b704a54f 100644 --- a/logs/zap/entry_encoder_test.go +++ b/logs/zap/entry_encoder_test.go @@ -68,7 +68,7 @@ func TestEntryEncoder_EncodeEntry(t *testing.T) { func BenchmarkEntryEncoderSimple(b *testing.B) { fields := []zapcore.Field{ - logzap.Event(items.EventCreateItem), + logzap.Event(items.EventItemCreate), logzap.Object(items.NewItem("WPNN", "9VGP", "GxNv", "W0fl", nil, nil)), logzap.Caller("/system"), logzap.Tags("tag1", "tag2", "tag3"), @@ -82,7 +82,7 @@ func BenchmarkEntryEncoderSimple(b *testing.B) { func BenchmarkEntryEncoderUnknownFields(b *testing.B) { fields := []zapcore.Field{ - logzap.Event(items.EventCreateItem), + logzap.Event(items.EventItemCreate), logzap.Object(items.NewItem("WPNN", "9VGP", "GxNv", "W0fl", nil, nil)), logzap.Caller("/system"), logzap.Tags("tag1", "tag2", "tag3"), @@ -100,7 +100,7 @@ func BenchmarkEntryEncoderUnknownFields(b *testing.B) { func BenchmarkEntryEncoderV2Simple(b *testing.B) { fields := []zapcore.Field{ - logzap.Event(items.EventCreateItem), + logzap.Event(items.EventItemCreate), logzap.Object(items.NewItem("WPNN", "9VGP", "GxNv", "W0fl", nil, nil)), logzap.Caller("/system"), logzap.Tags("tag1", "tag2", "tag3"), @@ -114,7 +114,7 @@ func BenchmarkEntryEncoderV2Simple(b *testing.B) { func BenchmarkEntryEncoderV2UnknownFields(b *testing.B) { fields := []zapcore.Field{ - logzap.Event(items.EventCreateItem), + logzap.Event(items.EventItemCreate), logzap.Object(items.NewItem("WPNN", "9VGP", "GxNv", "W0fl", nil, nil)), logzap.Caller("/system"), logzap.Tags("tag1", "tag2", "tag3"),