MCPcopy
hub / github.com/aceld/zinx / verifyLogIsolation

Method verifyLogIsolation

zlog/logger_core.go:242–244  ·  view source on GitHub ↗
(logLevel int)

Source from the content-addressed store, hash-verified

240}
241
242func (log *ZinxLoggerCore) verifyLogIsolation(logLevel int) bool {
243 return log.isolationLevel > logLevel
244}
245
246func (log *ZinxLoggerCore) Debugf(format string, v ...interface{}) {
247 if log.verifyLogIsolation(LogDebug) {

Callers 12

DebugfMethod · 0.95
DebugMethod · 0.95
InfofMethod · 0.95
InfoMethod · 0.95
WarnfMethod · 0.95
WarnMethod · 0.95
ErrorfMethod · 0.95
ErrorMethod · 0.95
FatalfMethod · 0.95
FatalMethod · 0.95
PanicfMethod · 0.95
PanicMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected