MCPcopy
hub / github.com/grafana/tempo / TestRateLimitedLogger

Function TestRateLimitedLogger

pkg/util/log/rate_limited_logger_test.go:10–15  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

8)
9
10func TestRateLimitedLogger(t *testing.T) {
11 logger := NewRateLimitedLogger(10, level.Error(Logger))
12 assert.NotNil(t, logger)
13
14 logger.Log("test")
15}

Callers

nothing calls this directly

Calls 3

LogMethod · 0.95
NewRateLimitedLoggerFunction · 0.85
ErrorMethod · 0.65

Tested by

no test coverage detected