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

Method isTraceEnabled

pkg/utils/log/log.go:191–193  ·  view source on GitHub ↗
(t LogType)

Source from the content-addressed store, hash-verified

189}
190
191func (l *Logger) isTraceEnabled(t LogType) bool {
192 return t == TYPE_PANIC || l.trace.Test(t)
193}
194
195func (l *Logger) Panic(v ...interface{}) {
196 t := TYPE_PANIC

Callers 1

outputMethod · 0.95

Calls 1

TestMethod · 0.80

Tested by

no test coverage detected