MCPcopy Create free account
hub / github.com/labstack/gommon / TestLogConcurrent

Function TestLogConcurrent

log/log_test.go:51–61  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

49}
50
51func TestLogConcurrent(t *testing.T) {
52 var wg sync.WaitGroup
53 for i := 0; i < 2; i++ {
54 wg.Add(1)
55 go func() {
56 TestLog(t)
57 wg.Done()
58 }()
59 }
60 wg.Wait()
61}
62
63func TestFatal(t *testing.T) {
64 l := New("test")

Callers

nothing calls this directly

Calls 1

TestLogFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…