Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
191
func
(l *Logger) isTraceEnabled(t LogType) bool {
192
return
t == TYPE_PANIC || l.trace.Test(t)
193
}
194
195
func
(l *Logger) Panic(v ...
interface
{}) {
196
t := TYPE_PANIC
Callers
1
output
Method · 0.95
Calls
1
Test
Method · 0.80
Tested by
no test coverage detected