Skip to content
Snippets Groups Projects
Commit 3a18ffc3 authored by ko_oler's avatar ko_oler
Browse files

правки после обновления с master

parent a3d59b8d
No related branches found
No related tags found
No related merge requests found
...@@ -68,7 +68,7 @@ func TestEntryEncoder_EncodeEntry(t *testing.T) { ...@@ -68,7 +68,7 @@ func TestEntryEncoder_EncodeEntry(t *testing.T) {
func BenchmarkEntryEncoderSimple(b *testing.B) { func BenchmarkEntryEncoderSimple(b *testing.B) {
fields := []zapcore.Field{ fields := []zapcore.Field{
logzap.Event(items.EventCreateItem), logzap.Event(items.EventItemCreate),
logzap.Object(items.NewItem("WPNN", "9VGP", "GxNv", "W0fl", nil, nil)), logzap.Object(items.NewItem("WPNN", "9VGP", "GxNv", "W0fl", nil, nil)),
logzap.Caller("/system"), logzap.Caller("/system"),
logzap.Tags("tag1", "tag2", "tag3"), logzap.Tags("tag1", "tag2", "tag3"),
...@@ -82,7 +82,7 @@ func BenchmarkEntryEncoderSimple(b *testing.B) { ...@@ -82,7 +82,7 @@ func BenchmarkEntryEncoderSimple(b *testing.B) {
func BenchmarkEntryEncoderUnknownFields(b *testing.B) { func BenchmarkEntryEncoderUnknownFields(b *testing.B) {
fields := []zapcore.Field{ fields := []zapcore.Field{
logzap.Event(items.EventCreateItem), logzap.Event(items.EventItemCreate),
logzap.Object(items.NewItem("WPNN", "9VGP", "GxNv", "W0fl", nil, nil)), logzap.Object(items.NewItem("WPNN", "9VGP", "GxNv", "W0fl", nil, nil)),
logzap.Caller("/system"), logzap.Caller("/system"),
logzap.Tags("tag1", "tag2", "tag3"), logzap.Tags("tag1", "tag2", "tag3"),
...@@ -100,7 +100,7 @@ func BenchmarkEntryEncoderUnknownFields(b *testing.B) { ...@@ -100,7 +100,7 @@ func BenchmarkEntryEncoderUnknownFields(b *testing.B) {
func BenchmarkEntryEncoderV2Simple(b *testing.B) { func BenchmarkEntryEncoderV2Simple(b *testing.B) {
fields := []zapcore.Field{ fields := []zapcore.Field{
logzap.Event(items.EventCreateItem), logzap.Event(items.EventItemCreate),
logzap.Object(items.NewItem("WPNN", "9VGP", "GxNv", "W0fl", nil, nil)), logzap.Object(items.NewItem("WPNN", "9VGP", "GxNv", "W0fl", nil, nil)),
logzap.Caller("/system"), logzap.Caller("/system"),
logzap.Tags("tag1", "tag2", "tag3"), logzap.Tags("tag1", "tag2", "tag3"),
...@@ -114,7 +114,7 @@ func BenchmarkEntryEncoderV2Simple(b *testing.B) { ...@@ -114,7 +114,7 @@ func BenchmarkEntryEncoderV2Simple(b *testing.B) {
func BenchmarkEntryEncoderV2UnknownFields(b *testing.B) { func BenchmarkEntryEncoderV2UnknownFields(b *testing.B) {
fields := []zapcore.Field{ fields := []zapcore.Field{
logzap.Event(items.EventCreateItem), logzap.Event(items.EventItemCreate),
logzap.Object(items.NewItem("WPNN", "9VGP", "GxNv", "W0fl", nil, nil)), logzap.Object(items.NewItem("WPNN", "9VGP", "GxNv", "W0fl", nil, nil)),
logzap.Caller("/system"), logzap.Caller("/system"),
logzap.Tags("tag1", "tag2", "tag3"), logzap.Tags("tag1", "tag2", "tag3"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment