Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions countlog/countlog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,9 @@ import (
"os"
"github.com/v2pro/plz/countlog/output/lumberjack"
"github.com/v2pro/plz/countlog/spi"
"github.com/v2pro/plz/countlog/output/json"
)

func Test_trace(t *testing.T) {
EventWriter = output.NewEventWriter(output.EventWriterConfig{
Format: &json.Format{},
})
Trace("hello", "a", "b", "int", 100)
}

Expand Down
3 changes: 1 addition & 2 deletions countlog/stats/stats_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package stats

import (
"testing"
"github.com/v2pro/plz/countlog/core"
"github.com/stretchr/testify/require"
"time"
)
Expand Down Expand Up @@ -130,4 +129,4 @@ func Benchmark_counter_of_0_elem_dimension(b *testing.B) {
//for i := 0; i < b.N; i++ {
// counter.Handle(event)
//}
}
}