MCPcopy
hub / github.com/moonD4rk/HackBrowserData / logMsg

Method logMsg

log/logger.go:53–58  ·  view source on GitHub ↗

logMsg is the internal method all public methods delegate to.

(lvl Level, msg string)

Source from the content-addressed store, hash-verified

51
52// logMsg is the internal method all public methods delegate to.
53func (l *Logger) logMsg(lvl Level, msg string) {
54 if !l.canLogAt(lvl) {
55 return
56 }
57 l.base.Log(baseCallerSkip, lvl, msg)
58}
59
60func (l *Logger) Debug(args ...any) {
61 l.logMsg(DebugLevel, fmt.Sprint(args...))

Callers 15

DebugMethod · 0.95
DebugfMethod · 0.95
InfoMethod · 0.95
InfofMethod · 0.95
WarnMethod · 0.95
WarnfMethod · 0.95
ErrorMethod · 0.95
ErrorfMethod · 0.95
FatalMethod · 0.95
FatalfMethod · 0.95
DebugFunction · 0.80
DebugfFunction · 0.80

Calls 2

canLogAtMethod · 0.95
LogMethod · 0.65

Tested by

no test coverage detected