MCPcopy
hub / github.com/CodisLabs/codis / Test

Method Test

pkg/utils/log/log.go:107–110  ·  view source on GitHub ↗
(m LogType)

Source from the content-addressed store, hash-verified

105}
106
107func (l *LogLevel) Test(m LogType) bool {
108 v := atomic.LoadInt64((*int64)(l))
109 return (v & int64(m)) != 0
110}
111
112type nopCloser struct {
113 io.Writer

Callers 2

isDisabledMethod · 0.80
isTraceEnabledMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected